summaryrefslogtreecommitdiff
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorMaciej Zenczykowski <maze@google.com>2007-04-05 06:08:27 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-05 08:12:48 +0400
commit58e949139014a852a83b5ef071136b1f50c86ad1 (patch)
tree447803d964bd8fb955056bfd9c4f1949d6b01bb0 /include/asm-ia64
parentba6e8564f459211117ce300eae2c7fdd23befe34 (diff)
downloadlinux-58e949139014a852a83b5ef071136b1f50c86ad1.tar.xz
[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 <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/processor.h b/include/asm-ia64/processor.h
index 5830d36fd8e6..4f4ee1c2db2f 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