x86/asm/entry: Remove SYSCALL_VECTOR
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / traps.c
index 324ab524768756b1987efbee11f06ce3ba24562b..5e0791f9d3dca6c74de6f72d353d08224e395514 100644 (file)
@@ -997,8 +997,8 @@ void __init trap_init(void)
 #endif
 
 #ifdef CONFIG_X86_32
-       set_system_trap_gate(SYSCALL_VECTOR, &system_call);
-       set_bit(SYSCALL_VECTOR, used_vectors);
+       set_system_trap_gate(IA32_SYSCALL_VECTOR, &system_call);
+       set_bit(IA32_SYSCALL_VECTOR, used_vectors);
 #endif
 
        /*