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

diff --git a/a/1.txt b/N1/1.txt
index d0e0e25..d38c3f5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -997,7 +997,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 @@
  }
@@ -1029,7 +1029,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 ce7e636..25f4a82 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020050902.132754.118393946.davem@davemloft.net\0"
  "From\0Adrian Bunk <bunk@stusta.de>\0"
  "Subject\0Re: [2.6 patch] sparc: \"extern inline\" -> \"static inline\"\0"
- "Date\0Sat, 01 Oct 2005 23:06:28 +0000\0"
+ "Date\0Sun, 2 Oct 2005 01:06:28 +0200\0"
  "To\0David S. Miller <davem@davemloft.net>\0"
  "Cc\0wli@holomorphy.com"
   sparclinux@vger.kernel.org
@@ -1008,7 +1008,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"
@@ -1040,7 +1040,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"
@@ -1088,4 +1088,4 @@
  " {\n"
  " \tunsigned long tbr;"
 
-44dd233f4f4132692433e4fda77cdc4b3302836bb7acda3ed18da45136ca9857
+51ac5ed1d3eaa6ef318973226238b2a3b8c954f02c95eda74e5c088e45e213b5

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.