patch-2.2.16 linux/include/asm-alpha/compiler.h
Next file: linux/include/asm-alpha/console.h
Previous file: linux/include/asm-alpha/byteorder.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jun 7 14:26:44 2000
- Orig file:
v2.2.15/linux/include/asm-alpha/compiler.h
- Orig date:
Sun Aug 9 12:09:06 1998
diff -urN v2.2.15/linux/include/asm-alpha/compiler.h linux/include/asm-alpha/compiler.h
@@ -13,7 +13,7 @@
* EGCS (of varying versions) does a good job of using insxl and extxl.
*/
-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 91
+#if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 91)
#define __kernel_insbl(val, shift) \
(((unsigned long)(val) & 0xfful) << ((shift) * 8))
#define __kernel_inswl(val, shift) \
@@ -29,7 +29,7 @@
__kir; })
#endif
-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 92
+#if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 92)
#define __kernel_extbl(val, shift) (((val) >> (((shift) & 7) * 8)) & 0xfful)
#define __kernel_extwl(val, shift) (((val) >> (((shift) & 7) * 8)) & 0xfffful)
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)