aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_32.S
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-12 10:27:35 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-11-12 10:27:35 -0800
commit8665596ec05498525014436520b316ba174a068a (patch)
tree84b60a30d94e91f5a0f30160bdea6b68dcb86492 /arch/x86/kernel/entry_32.S
parentx86: 64 bits: shrink and align IRQ stubs (diff)
downloadlinux-dev-8665596ec05498525014436520b316ba174a068a.tar.xz
linux-dev-8665596ec05498525014436520b316ba174a068a.zip
x86: fix up the new IRQ code for older versions of gas
Older versions of gas don't implement the C-style != operator, they instead want the Pascal-style <> operator. Change != to <> so we don't break compilation with those old versions of gas. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r--arch/x86/kernel/entry_32.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
index dae81b9fd451..bd02ec77edc4 100644
--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -635,12 +635,12 @@ vector=FIRST_EXTERNAL_VECTOR
.balign 32
.rept 7
.if vector < NR_VECTORS
- .if vector != FIRST_EXTERNAL_VECTOR
+ .if vector <> FIRST_EXTERNAL_VECTOR
CFI_ADJUST_CFA_OFFSET -4
.endif
1: pushl $(~vector+0x80) /* Note: always in signed byte range */
CFI_ADJUST_CFA_OFFSET 4
- .if ((vector-FIRST_EXTERNAL_VECTOR)%7) != 6
+ .if ((vector-FIRST_EXTERNAL_VECTOR)%7) <> 6
jmp 2f
.endif
.previous