Skip to content

Commit

Permalink
x86, apic: remove BIGSMP_IRQ_DELIVERY_MODE and BIGSMP_IRQ_DEST_MODE
Browse files Browse the repository at this point in the history
Impact: cleanup

They were only used in a single place and obscured the apic_bigsmp
driver template.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 1b1bcb3 commit d8a3539
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/x86/include/asm/bigsmp/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ static inline const cpumask_t *target_cpus(void)
#undef APIC_DEST_LOGICAL
#define APIC_DEST_LOGICAL 0
#define APIC_DFR_VALUE (APIC_DFR_FLAT)
#define BIGSMP_IRQ_DELIVERY_MODE (dest_Fixed)
#define BIGSMP_IRQ_DEST_MODE (0) /* phys delivery to target proc */
#define NO_BALANCE_IRQ (0)

static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid)
Expand Down
5 changes: 3 additions & 2 deletions arch/x86/mach-generic/bigsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ struct genapic apic_bigsmp = {
.acpi_madt_oem_check = NULL,
.apic_id_registered = bigsmp_apic_id_registered,

.irq_delivery_mode = BIGSMP_IRQ_DELIVERY_MODE,
.irq_dest_mode = BIGSMP_IRQ_DEST_MODE,
.irq_delivery_mode = dest_Fixed,
/* phys delivery to target CPU: */
.irq_dest_mode = 0,

.target_cpus = target_cpus,
.ESR_DISABLE = esr_disable,
Expand Down

0 comments on commit d8a3539

Please sign in to comment.