linux-libc-headers/trunk/llh-2.6.18/include/asm-generic: bitops bitops.h

pluto cvs at pld-linux.org
Mon Sep 4 20:22:26 CEST 2006


Author: pluto
Date: Mon Sep  4 20:22:26 2006
New Revision: 7708

Removed:
   linux-libc-headers/trunk/llh-2.6.18/include/asm-generic/bitops/
Modified:
   linux-libc-headers/trunk/llh-2.6.18/include/asm-generic/bitops.h
Log:
userland shoud use gcc bitops builtins.

Modified: linux-libc-headers/trunk/llh-2.6.18/include/asm-generic/bitops.h
==============================================================================
--- linux-libc-headers/trunk/llh-2.6.18/include/asm-generic/bitops.h	(original)
+++ linux-libc-headers/trunk/llh-2.6.18/include/asm-generic/bitops.h	Mon Sep  4 20:22:26 2006
@@ -1,20 +1,6 @@
 #ifndef _ASM_GENERIC_BITOPS_H_
 #define _ASM_GENERIC_BITOPS_H_
 
-/*
- * For the benefit of those who are trying to port Linux to another
- * architecture, here are some C-language equivalents.  You should
- * recode these in the native assembly language, if at all possible.
- * 
- * C language equivalents written by Theodore Ts'o, 9/26/92
- */
-
-#include <asm-generic/bitops/atomic.h>
-#include <asm-generic/bitops/non-atomic.h>
-#include <asm-generic/bitops/__ffs.h>
-#include <asm-generic/bitops/ffz.h>
-#include <asm-generic/bitops/fls.h>
-#include <asm-generic/bitops/fls64.h>
-#include <asm-generic/bitops/find.h>
+#error "use gcc builtins: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Other-Builtins.html#Other-Builtins"
 
 #endif /* _ASM_GENERIC_BITOPS_H */


More information about the pld-cvs-commit mailing list