diff options
author | Thomas Gleixner <[email protected]> | 2017-08-28 08:47:58 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-29 12:07:28 +0200 |
commit | 4447ac1195a845b18f2f427686f116ab77c5b268 (patch) | |
tree | d92c01ac436ade4fcddf7a7aa77ecd7f4c026272 /lib/memory-notifier-error-inject.c | |
parent | db18da78f9a8bbab1bdc5968ba47ace788b5061f (diff) |
x86/idt: Simplify alloc_intr_gate()
The only users of alloc_intr_gate() are hypervisors, which both check the
used_vectors bitmap whether they have allocated the gate already. Move that
check into alloc_intr_gate() and simplify the users.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions