Module Name: src
Committed By: matt
Date: Fri Feb 28 05:29:57 UTC 2014
Modified Files:
src/sys/arch/powerpc/include: cdefs.h
Log Message:
Add ALIGNBYTES32 for COMPAT_NETBSD32
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/include/cdefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/cdefs.h
diff -u src/sys/arch/powerpc/include/cdefs.h:1.9 src/sys/arch/powerpc/include/cdefs.h:1.10
--- src/sys/arch/powerpc/include/cdefs.h:1.9 Tue Feb 21 02:19:01 2012
+++ src/sys/arch/powerpc/include/cdefs.h Fri Feb 28 05:29:57 2014
@@ -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_ */