Commit c379698f authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86, irq_vectors.h: remove needless includes



Reduce include file dependencies a bit - remove the two headers
that are included in irq_vectors.h.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9fc2e79d
Loading
Loading
Loading
Loading
+8 −14
Original line number Diff line number Diff line
#ifndef _ASM_X86_IRQ_VECTORS_H
#define _ASM_X86_IRQ_VECTORS_H

#include <linux/threads.h>

/*
 * Linux IRQ vector layout.
 *
@@ -131,9 +129,6 @@
#define NR_IRQS_LEGACY			  16

#ifdef CONFIG_X86_IO_APIC

#include <asm/apicnum.h>	/* need MAX_IO_APICS */

# ifndef CONFIG_SPARSE_IRQ
#  if NR_CPUS < MAX_IO_APICS
#   define NR_IRQS 			(NR_VECTORS + (32 * NR_CPUS))
@@ -146,7 +141,6 @@
		(NR_VECTORS + (8 * NR_CPUS)) :		\
		(NR_VECTORS + (32 * MAX_IO_APICS)))
# endif

#else /* !CONFIG_X86_IO_APIC: */
# define NR_IRQS			16
#endif