Commit 042623bb authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: clean up ARCH_SETUP

asm-x86/paravirt.h already have protection with CONFIG_PARAVIRT inside
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 611dfd78
...@@ -101,11 +101,7 @@ ...@@ -101,11 +101,7 @@
#include <asm/proto.h> #include <asm/proto.h>
#include <mach_apic.h> #include <mach_apic.h>
#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h> #include <asm/paravirt.h>
#else
#define ARCH_SETUP
#endif
#include <asm/percpu.h> #include <asm/percpu.h>
#include <asm/sections.h> #include <asm/sections.h>
...@@ -115,6 +111,10 @@ ...@@ -115,6 +111,10 @@
#include <asm/numa_64.h> #include <asm/numa_64.h>
#endif #endif
#ifndef ARCH_SETUP
#define ARCH_SETUP
#endif
#ifndef CONFIG_DEBUG_BOOT_PARAMS #ifndef CONFIG_DEBUG_BOOT_PARAMS
struct boot_params __initdata boot_params; struct boot_params __initdata boot_params;
#else #else
......
/* Hook to call BIOS initialisation function */ /* Hook to call BIOS initialisation function */
/* no action for generic */ /* no action for generic */
#ifndef ARCH_SETUP
#define ARCH_SETUP
#endif
...@@ -4,5 +4,3 @@ extern unsigned long sgivwfb_mem_phys; ...@@ -4,5 +4,3 @@ extern unsigned long sgivwfb_mem_phys;
extern unsigned long sgivwfb_mem_size; extern unsigned long sgivwfb_mem_size;
/* no action for visws */ /* no action for visws */
#define ARCH_SETUP
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment