Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99698
b: refs/heads/master
c: 32c5061
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Starikovskiy authored and Thomas Gleixner committed May 25, 2008
1 parent 8c1ebdd commit c32cf24
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11a62a056093a7f25f1595fbd8bd5f93559572b6
refs/heads/master: 32c5061265caf201d6a2c0d02181e2b68769c22c
11 changes: 6 additions & 5 deletions trunk/arch/x86/kernel/mpparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,15 +793,14 @@ void __init find_smp_config(void)
ACPI-based MP Configuration
-------------------------------------------------------------------------- */

/*
* Keep this outside and initialized to 0, for !CONFIG_ACPI builds:
*/
int es7000_plat;

#ifdef CONFIG_ACPI

#ifdef CONFIG_X86_IO_APIC

#if defined(CONFIG_X86_ES7000) || defined(CONFIG_X86_GENERICARCH)
extern int es7000_plat;
#endif

#define MP_ISA_BUS 0

static struct mp_ioapic_routing mp_ioapic_routing[MAX_IO_APICS];
Expand Down Expand Up @@ -928,11 +927,13 @@ void __init mp_config_acpi_legacy_irqs(void)
set_bit(MP_ISA_BUS, mp_bus_not_pci);
Dprintk("Bus #%d is ISA\n", MP_ISA_BUS);

#if defined(CONFIG_X86_ES7000) || defined(CONFIG_X86_GENERICARCH)
/*
* Older generations of ES7000 have no legacy identity mappings
*/
if (es7000_plat == 1)
return;
#endif

/*
* Locate the IOAPIC that manages the ISA IRQs (0-15).
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/mach-es7000/es7000plat.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ static struct mip_reg *host_reg;
static int mip_port;
static unsigned long mip_addr, host_addr;

int es7000_plat;

/*
* GSI override for ES7000 platforms.
*/
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-x86/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ static inline void clflush(volatile void *__p)
void disable_hlt(void);
void enable_hlt(void);

extern int es7000_plat;
void cpu_idle_wait(void);

extern unsigned long arch_align_stack(unsigned long sp);
Expand Down

0 comments on commit c32cf24

Please sign in to comment.