]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-warnings.patch
- update patches for 2.6.32; they apply when using --without grsecurity
[packages/kernel.git] / kernel-warnings.patch
index 3089220f704d5569066b6c59cfa1c2d1ad3c057b..f10dcc7331707c9caa3ca7734ff9b2ec90286f71 100644 (file)
@@ -1,59 +1,3 @@
---- linux-2.6.27/arch/sparc/include/asm/spinlock_64.h~ 2007-02-04 19:44:54.000000000 +0100
-+++ linux-2.6.27/arch/sparc/include/asm/spinlock_64.h  2007-04-10 01:05:35.426190250 +0200
-@@ -105,7 +105,7 @@
- /* Multi-reader locks, these are much saner than the 32-bit Sparc ones... */
--static void inline __read_lock(raw_rwlock_t *lock)
-+static inline void __read_lock(raw_rwlock_t *lock)
- {
-       unsigned long tmp1, tmp2;
-@@ -130,7 +130,7 @@
-       : "memory");
- }
--static int inline __read_trylock(raw_rwlock_t *lock)
-+static inline int __read_trylock(raw_rwlock_t *lock)
- {
-       int tmp1, tmp2;
-@@ -152,7 +152,7 @@
-       return tmp1;
- }
--static void inline __read_unlock(raw_rwlock_t *lock)
-+static inline void __read_unlock(raw_rwlock_t *lock)
- {
-       unsigned long tmp1, tmp2;
-@@ -169,7 +169,7 @@
-       : "memory");
- }
--static void inline __write_lock(raw_rwlock_t *lock)
-+static inline void __write_lock(raw_rwlock_t *lock)
- {
-       unsigned long mask, tmp1, tmp2;
-@@ -196,7 +196,7 @@
-       : "memory");
- }
--static void inline __write_unlock(raw_rwlock_t *lock)
-+static inline void __write_unlock(raw_rwlock_t *lock)
- {
-       __asm__ __volatile__(
- "     membar          #LoadStore | #StoreStore\n"
-@@ -206,7 +206,7 @@
-       : "memory");
- }
--static int inline __write_trylock(raw_rwlock_t *lock)
-+static inline int __write_trylock(raw_rwlock_t *lock)
- {
-       unsigned long mask, tmp1, tmp2, result;
 --- linux-2.6.20/arch/powerpc/kernel/prom_init.c~      2007-02-04 19:44:54.000000000 +0100
 +++ linux-2.6.20/arch/powerpc/kernel/prom_init.c       2007-04-10 01:59:33.712570500 +0200
 @@ -429,14 +429,14 @@
This page took 0.034289 seconds and 4 git commands to generate.