Date: Fri, 9 Oct 2009 14:31:29 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r197909 - projects/ppc64/sys/powerpc/powerpc Message-ID: <200910091431.n99EVTJV055721@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Fri Oct 9 14:31:29 2009 New Revision: 197909 URL: http://svn.freebsd.org/changeset/base/197909 Log: Use long for the bcopy word size instead of int. This is a no-op on the 32-bit systems, but expands well for 64. Modified: projects/ppc64/sys/powerpc/powerpc/bcopy.c Modified: projects/ppc64/sys/powerpc/powerpc/bcopy.c ============================================================================== --- projects/ppc64/sys/powerpc/powerpc/bcopy.c Fri Oct 9 14:30:28 2009 (r197908) +++ projects/ppc64/sys/powerpc/powerpc/bcopy.c Fri Oct 9 14:31:29 2009 (r197909) @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); * sizeof(word) MUST BE A POWER OF TWO * SO THAT wmask BELOW IS ALL ONES */ -typedef int word; /* "word" used for optimal copy speed */ +typedef long word; /* "word" used for optimal copy speed */ #define wsize sizeof(word) #define wmask (wsize - 1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910091431.n99EVTJV055721>