x86: clean up ARCH_SETUP

asm-x86/paravirt.h already have protection with CONFIG_PARAVIRT inside

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Yinghai Lu 2008-06-25 19:52:15 -07:00 committed by Ingo Molnar
parent 611dfd7819
commit 042623bbab
3 changed files with 4 additions and 10 deletions

View file

@ -101,11 +101,7 @@
#include <asm/proto.h>
#include <mach_apic.h>
#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else
#define ARCH_SETUP
#endif
#include <asm/percpu.h>
#include <asm/sections.h>
@ -115,6 +111,10 @@
#include <asm/numa_64.h>
#endif
#ifndef ARCH_SETUP
#define ARCH_SETUP
#endif
#ifndef CONFIG_DEBUG_BOOT_PARAMS
struct boot_params __initdata boot_params;
#else

View file

@ -1,7 +1,3 @@
/* Hook to call BIOS initialisation function */
/* no action for generic */
#ifndef ARCH_SETUP
#define ARCH_SETUP
#endif

View file

@ -4,5 +4,3 @@ extern unsigned long sgivwfb_mem_phys;
extern unsigned long sgivwfb_mem_size;
/* no action for visws */
#define ARCH_SETUP