[PATCH] ia64: desc_empty thinko/typo fix
authorMaciej Zenczykowski <maze@google.com>
Thu, 5 Apr 2007 02:08:27 +0000 (19:08 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 5 Apr 2007 04:12:48 +0000 (21:12 -0700)
Just a one-byter for an ia64 thinko/typo - already fixed for i386 and x86_64.

Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-ia64/processor.h

index 5830d36fd8e6a407697001a1f5c0aeef9c4747f6..4f4ee1c2db2fb8177b12a589fb9b1a512915505e 100644 (file)
@@ -210,7 +210,7 @@ struct desc_struct {
        unsigned int a, b;
 };
 
-#define desc_empty(desc)               (!((desc)->a + (desc)->b))
+#define desc_empty(desc)               (!((desc)->a | (desc)->b))
 #define desc_equal(desc1, desc2)       (((desc1)->a == (desc2)->a) && ((desc1)->b == (desc2)->b))
 
 #define GDT_ENTRY_TLS_ENTRIES  3