parent
9a5798e5f5
commit
227817a3c6
|
@ -49,16 +49,3 @@ Update 2005-05-05 gotom, add __extension__ for linux/types.h.
|
|||
/*
|
||||
* Below are truly Linux-specific types that should never collide with
|
||||
* any application/library that wants linux/types.h.
|
||||
@@ -167,9 +179,9 @@
|
||||
typedef __u16 __bitwise __be16;
|
||||
typedef __u32 __bitwise __le32;
|
||||
typedef __u32 __bitwise __be32;
|
||||
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
||||
-typedef __u64 __bitwise __le64;
|
||||
-typedef __u64 __bitwise __be64;
|
||||
+#if defined(__GNUC__)
|
||||
+__extension__ typedef __u64 __bitwise __le64;
|
||||
+__extension__ typedef __u64 __bitwise __be64;
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- linux.old/include/asm-mips/bitops.h 2006-12-08 17:09:09.035003456 +0100
|
||||
+++ linux.dev/include/asm-mips/bitops.h 2006-12-08 17:09:25.539494392 +0100
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <linux/config.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/types.h>
|
||||
+#include <asm/war.h>
|
||||
#include <asm/bug.h>
|
||||
#include <asm/byteorder.h> /* sigh ... */
|
||||
#include <asm/cpu-features.h>
|
Loading…
Reference in New Issue