Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include Add ALIGNBYTES32 for COMPAT_NETBSD32



details:   https://anonhg.NetBSD.org/src/rev/ad32d98441fa
branches:  trunk
changeset: 327135:ad32d98441fa
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:29:57 2014 +0000

description:
Add ALIGNBYTES32 for COMPAT_NETBSD32

diffstat:

 sys/arch/powerpc/include/cdefs.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 14919c14005e -r ad32d98441fa sys/arch/powerpc/include/cdefs.h
--- a/sys/arch/powerpc/include/cdefs.h  Fri Feb 28 05:28:40 2014 +0000
+++ b/sys/arch/powerpc/include/cdefs.h  Fri Feb 28 05:29:57 2014 +0000
@@ -1,8 +1,11 @@
-/*     $NetBSD: cdefs.h,v 1.9 2012/02/21 02:19:01 matt Exp $   */
+/*     $NetBSD: cdefs.h,v 1.10 2014/02/28 05:29:57 matt Exp $  */
 
 #ifndef        _POWERPC_CDEFS_H_
 #define        _POWERPC_CDEFS_H_
 
 #define        __ALIGNBYTES    (sizeof(double) - 1)
+#ifdef _KERNEL
+#define        ALIGNBYTES32    __ALIGNBYTES
+#endif
 
 #endif /* !_POWERPC_CDEFS_H_ */



Home | Main Index | Thread Index | Old Index