提交 d04c579f 编写于 作者: J Jan Beulich 提交者: Ingo Molnar

x86: Work around old gas bug

Add extra parentheses around a couple of definitions introduced
by "x86: Cleanup vector usage" and used in assembly macro
arguments, and remove spaces. Without that old (2.16.1) gas
would see more macro arguments than were actually specified.
Reported-and-tested-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NJan Beulich <jbeulich@novell.com>
Cc: Shaohua Li <shaohua.li@intel.com>
LKML-Reference: <4D6F81B10200007800034B0B@vpn.id2.novell.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 eb8c1e2c
...@@ -126,14 +126,14 @@ ...@@ -126,14 +126,14 @@
/* up to 32 vectors used for spreading out TLB flushes: */ /* up to 32 vectors used for spreading out TLB flushes: */
#if NR_CPUS <= 32 #if NR_CPUS <= 32
# define NUM_INVALIDATE_TLB_VECTORS NR_CPUS # define NUM_INVALIDATE_TLB_VECTORS (NR_CPUS)
#else #else
# define NUM_INVALIDATE_TLB_VECTORS 32 # define NUM_INVALIDATE_TLB_VECTORS (32)
#endif #endif
#define INVALIDATE_TLB_VECTOR_END 0xee #define INVALIDATE_TLB_VECTOR_END (0xee)
#define INVALIDATE_TLB_VECTOR_START \ #define INVALIDATE_TLB_VECTOR_START \
(INVALIDATE_TLB_VECTOR_END - NUM_INVALIDATE_TLB_VECTORS + 1) (INVALIDATE_TLB_VECTOR_END-NUM_INVALIDATE_TLB_VECTORS+1)
#define NR_VECTORS 256 #define NR_VECTORS 256
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册