From: Maciej Zenczykowski Date: Thu, 5 Apr 2007 02:08:27 +0000 (-0700) Subject: [PATCH] ia64: desc_empty thinko/typo fix X-Git-Tag: v3.12-rc1~30812 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58e949139014a852a83b5ef071136b1f50c86ad1;p=kernel%2Fkernel-generic.git [PATCH] ia64: desc_empty thinko/typo fix Just a one-byter for an ia64 thinko/typo - already fixed for i386 and x86_64. Acked-by: Tony Luck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-ia64/processor.h b/include/asm-ia64/processor.h index 5830d36..4f4ee1c 100644 --- a/include/asm-ia64/processor.h +++ b/include/asm-ia64/processor.h @@ -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