target/linux: add preliminary 2.6.37 kernel support

SVN-Revision: 23828
This commit is contained in:
Alexandros C. Couloumbis
2010-11-03 16:13:33 +00:00
parent 55081c6a19
commit a2d17ea8cf
116 changed files with 67724 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
--- a/include/linux/stddef.h
+++ b/include/linux/stddef.h
@@ -16,6 +16,7 @@ enum {
false = 0,
true = 1
};
+#endif /* __KERNEL__ */
#undef offsetof
#ifdef __compiler_offsetof
@@ -23,6 +24,5 @@ enum {
#else
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
-#endif /* __KERNEL__ */
#endif