]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
x86/vector: Remove the macro VECTOR_OFFSET_START
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 25 Apr 2018 02:05:53 +0000 (10:05 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 26 Apr 2018 05:31:17 +0000 (07:31 +0200)
Now, Linux uses matrix allocator for vector assignment, the original
assignment code which used VECTOR_OFFSET_START has been removed.

So remove the stale macro as well.

Fixes: commit 69cde0004a4b ("x86/vector: Use matrix allocator for vector assignment")
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Rientjes <rientjes@google.com>
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20180425020553.17210-1-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/irq_vectors.h

index 404c5fdff859ded0e55325ac601ced0332910aac..57003074bd7a8e01b6de2b1e935de80b64ff24d5 100644 (file)
  * (0x80 is the syscall vector, 0x30-0x3f are for ISA)
  */
 #define FIRST_EXTERNAL_VECTOR          0x20
-/*
- * We start allocating at 0x21 to spread out vectors evenly between
- * priority levels. (0x80 is the syscall vector)
- */
-#define VECTOR_OFFSET_START            1
 
 /*
  * Reserve the lowest usable vector (and hence lowest priority)  0x20 for