diff options
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
| -rw-r--r-- | arch/x86/kernel/mpparse.c | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index a42f23f1dc7e..75357647b6ec 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
| @@ -610,7 +610,7 @@ static int __init check_physptr(struct mpf_intel *mpf, unsigned int early) | |||
| 610 | /* | 610 | /* |
| 611 | * Scan the memory blocks for an SMP configuration block. | 611 | * Scan the memory blocks for an SMP configuration block. |
| 612 | */ | 612 | */ |
| 613 | static void __init __get_smp_config(unsigned int early) | 613 | void __init default_get_smp_config(unsigned int early) |
| 614 | { | 614 | { |
| 615 | struct mpf_intel *mpf = mpf_found; | 615 | struct mpf_intel *mpf = mpf_found; |
| 616 | 616 | ||
| @@ -627,11 +627,6 @@ static void __init __get_smp_config(unsigned int early) | |||
| 627 | if (acpi_lapic && acpi_ioapic) | 627 | if (acpi_lapic && acpi_ioapic) |
| 628 | return; | 628 | return; |
| 629 | 629 | ||
| 630 | if (x86_quirks->mach_get_smp_config) { | ||
| 631 | if (x86_quirks->mach_get_smp_config(early)) | ||
| 632 | return; | ||
| 633 | } | ||
| 634 | |||
| 635 | printk(KERN_INFO "Intel MultiProcessor Specification v1.%d\n", | 630 | printk(KERN_INFO "Intel MultiProcessor Specification v1.%d\n", |
| 636 | mpf->specification); | 631 | mpf->specification); |
| 637 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86_32) | 632 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86_32) |
| @@ -672,16 +667,6 @@ static void __init __get_smp_config(unsigned int early) | |||
| 672 | */ | 667 | */ |
| 673 | } | 668 | } |
| 674 | 669 | ||
| 675 | void __init early_get_smp_config(void) | ||
| 676 | { | ||
| 677 | __get_smp_config(1); | ||
| 678 | } | ||
| 679 | |||
| 680 | void __init get_smp_config(void) | ||
| 681 | { | ||
| 682 | __get_smp_config(0); | ||
| 683 | } | ||
| 684 | |||
| 685 | static void __init smp_reserve_bootmem(struct mpf_intel *mpf) | 670 | static void __init smp_reserve_bootmem(struct mpf_intel *mpf) |
| 686 | { | 671 | { |
| 687 | unsigned long size = get_mpc_size(mpf->physptr); | 672 | unsigned long size = get_mpc_size(mpf->physptr); |
| @@ -747,14 +732,10 @@ static int __init smp_scan_config(unsigned long base, unsigned long length, | |||
| 747 | return 0; | 732 | return 0; |
| 748 | } | 733 | } |
| 749 | 734 | ||
| 750 | static void __init __find_smp_config(unsigned int reserve) | 735 | void __init default_find_smp_config(unsigned int reserve) |
| 751 | { | 736 | { |
| 752 | unsigned int address; | 737 | unsigned int address; |
| 753 | 738 | ||
| 754 | if (x86_quirks->mach_find_smp_config) { | ||
| 755 | if (x86_quirks->mach_find_smp_config(reserve)) | ||
| 756 | return; | ||
| 757 | } | ||
| 758 | /* | 739 | /* |
| 759 | * FIXME: Linux assumes you have 640K of base ram.. | 740 | * FIXME: Linux assumes you have 640K of base ram.. |
| 760 | * this continues the error... | 741 | * this continues the error... |
| @@ -789,16 +770,6 @@ static void __init __find_smp_config(unsigned int reserve) | |||
| 789 | smp_scan_config(address, 0x400, reserve); | 770 | smp_scan_config(address, 0x400, reserve); |
| 790 | } | 771 | } |
| 791 | 772 | ||
| 792 | void __init early_find_smp_config(void) | ||
| 793 | { | ||
| 794 | __find_smp_config(0); | ||
| 795 | } | ||
| 796 | |||
| 797 | void __init find_smp_config(void) | ||
| 798 | { | ||
| 799 | __find_smp_config(1); | ||
| 800 | } | ||
| 801 | |||
| 802 | #ifdef CONFIG_X86_IO_APIC | 773 | #ifdef CONFIG_X86_IO_APIC |
| 803 | static u8 __initdata irq_used[MAX_IRQ_SOURCES]; | 774 | static u8 __initdata irq_used[MAX_IRQ_SOURCES]; |
| 804 | 775 | ||
