aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMaciej Zenczykowski <maze@google.com>2007-04-04 22:08:27 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-05 00:12:48 -0400
commit58e949139014a852a83b5ef071136b1f50c86ad1 (patch)
tree447803d964bd8fb955056bfd9c4f1949d6b01bb0 /include
parentba6e8564f459211117ce300eae2c7fdd23befe34 (diff)
[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')
-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 {
210 unsigned int a, b; 210 unsigned int a, b;
211}; 211};
212 212
213#define desc_empty(desc) (!((desc)->a + (desc)->b)) 213#define desc_empty(desc) (!((desc)->a | (desc)->b))
214#define desc_equal(desc1, desc2) (((desc1)->a == (desc2)->a) && ((desc1)->b == (desc2)->b)) 214#define desc_equal(desc1, desc2) (((desc1)->a == (desc2)->a) && ((desc1)->b == (desc2)->b))
215 215
216#define GDT_ENTRY_TLS_ENTRIES 3 216#define GDT_ENTRY_TLS_ENTRIES 3