+diff -Nurb --exclude='*.a' --exclude='*.dbg' --exclude='*.order' --exclude='*.d' --exclude='*.elf' --exclude='*.o' --exclude='*.mod' --exclude='*.cmd' --exclude='*.orig' --exclude='*.swp' --exclude=tags --exclude='*.patch' --exclude='*.diff' --exclude='*.svn*' linux-2.6.27-710/include/asm-generic/bitops/hweight.h linux-2.6.27-720/include/asm-generic/bitops/hweight.h
+--- linux-2.6.27-710/include/asm-generic/bitops/hweight.h 2008-10-09 18:13:53.000000000 -0400
++++ linux-2.6.27-720/include/asm-generic/bitops/hweight.h 2009-05-04 16:03:46.000000000 -0400
+@@ -3,6 +3,12 @@
+
+ #include <asm/types.h>
+
++#ifdef __cplusplus
++#ifndef CXX_PROTECTED
++#error Unprotected code region
++#endif
++#endif
++
+ extern unsigned int hweight32(unsigned int w);
+ extern unsigned int hweight16(unsigned int w);
+ extern unsigned int hweight8(unsigned int w);