All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20050902202444.GS3657@stusta.de>

diff --git a/a/1.txt b/N1/1.txt
index 00b9ad5..8623d7e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -975,7 +975,7 @@ Signed-off-by: Adrian Bunk <bunk@stusta.de>
 -extern __inline__ __volatile__ smp_lock(void *addr)
 +static inline __volatile__ smp_lock(void *addr)
  {
- 	while(test_and_set(addr) = 0xff)
+ 	while(test_and_set(addr) == 0xff)
  		;
 @@ -46,7 +46,7 @@
  }
@@ -1007,7 +1007,7 @@ Signed-off-by: Adrian Bunk <bunk@stusta.de>
  	unsigned int result;
  	__asm__ __volatile__("ldstub [%1], %0"
 @@ -47,7 +47,7 @@
- 	return (result = 0);
+ 	return (result == 0);
  }
  
 -extern __inline__ void __raw_spin_unlock(raw_spinlock_t *lock)
diff --git a/a/content_digest b/N1/content_digest
index 0c6b1b6..457607f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Adrian Bunk <bunk@stusta.de>\0"
  "Subject\0[2.6 patch] sparc: \"extern inline\" -> \"static inline\"\0"
- "Date\0Fri, 02 Sep 2005 20:24:44 +0000\0"
+ "Date\0Fri, 2 Sep 2005 22:24:44 +0200\0"
  "To\0wli@holomorphy.com\0"
  "Cc\0sparclinux@vger.kernel.org"
  " linux-kernel@vger.kernel.org\0"
@@ -983,7 +983,7 @@
  "-extern __inline__ __volatile__ smp_lock(void *addr)\n"
  "+static inline __volatile__ smp_lock(void *addr)\n"
  " {\n"
- " \twhile(test_and_set(addr) = 0xff)\n"
+ " \twhile(test_and_set(addr) == 0xff)\n"
  " \t\t;\n"
  "@@ -46,7 +46,7 @@\n"
  " }\n"
@@ -1015,7 +1015,7 @@
  " \tunsigned int result;\n"
  " \t__asm__ __volatile__(\"ldstub [%1], %0\"\n"
  "@@ -47,7 +47,7 @@\n"
- " \treturn (result = 0);\n"
+ " \treturn (result == 0);\n"
  " }\n"
  " \n"
  "-extern __inline__ void __raw_spin_unlock(raw_spinlock_t *lock)\n"
@@ -1063,4 +1063,4 @@
  " {\n"
  " \tunsigned long tbr;"
 
-4dd8bf935bfbf663eae32a8160167f8c3f6d03595ea4b84d1c3c34ef4ea3ae5f
+194589c7b406e9ba7698708f5dc77f7376c39b76f4c5131a60b7c09bc1b48c59

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.