Skip to content

Commit

Permalink
x86/vector: Remove the macro VECTOR_OFFSET_START
Browse files Browse the repository at this point in the history
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 69cde00 ("x86/vector: Use matrix allocator for vector assignment")
Signed-off-by: Dou Liyang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
douliyang authored and Ingo Molnar committed Apr 26, 2018
1 parent 9124130 commit e307280
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/x86/include/asm/irq_vectors.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
* (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
Expand Down

0 comments on commit e307280

Please sign in to comment.