Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136612
b: refs/heads/master
c: b2af018
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 73e101f commit 088635b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 31 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: fb5b33c9f62ca9222c11841d61ddb7dc1a6552e9
refs/heads/master: b2af018ff26f1a2a026f548f7f0e552589905689
12 changes: 0 additions & 12 deletions trunk/arch/x86/include/asm/mach-default/mach_mpspec.h

This file was deleted.

12 changes: 0 additions & 12 deletions trunk/arch/x86/include/asm/mach-generic/mach_mpspec.h

This file was deleted.

25 changes: 19 additions & 6 deletions trunk/arch/x86/include/asm/mpspec.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ extern int apic_version[MAX_APICS];
extern int pic_mode;

#ifdef CONFIG_X86_32
#include <mach_mpspec.h>

/*
* Summit or generic (i.e. installer) kernels need lots of bus entries.
* Maximum 256 PCI busses, plus 1 ISA bus in each of 4 cabinets.
*/
#if CONFIG_BASE_SMALL == 0
# define MAX_MP_BUSSES 260
#else
# define MAX_MP_BUSSES 32
#endif

#define MAX_IRQ_SOURCES 256

extern unsigned int def_to_bigsmp;
extern u8 apicid_2_node[];
Expand All @@ -20,15 +31,15 @@ extern int mp_bus_id_to_local[MAX_MP_BUSSES];
extern int quad_local_to_mp_bus_id [NR_CPUS/4][4];
#endif

#define MAX_APICID 256
#define MAX_APICID 256

#else
#else /* CONFIG_X86_64: */

#define MAX_MP_BUSSES 256
#define MAX_MP_BUSSES 256
/* Each PCI slot may be a combo card with its own bus. 4 IRQ pins per slot. */
#define MAX_IRQ_SOURCES (MAX_MP_BUSSES * 4)
#define MAX_IRQ_SOURCES (MAX_MP_BUSSES * 4)

#endif
#endif /* CONFIG_X86_64 */

extern void early_find_smp_config(void);
extern void early_get_smp_config(void);
Expand Down Expand Up @@ -146,4 +157,6 @@ extern int generic_mps_oem_check(struct mpc_table *, char *, char *);

extern int default_acpi_madt_oem_check(char *, char *);

extern void numaq_mps_oem_check(struct mpc_table *, char *, char *);

#endif /* _ASM_X86_MPSPEC_H */

0 comments on commit 088635b

Please sign in to comment.