[PATCH] x86: remove two duplicated func in setup_32.c

From: Yinghai Lu
Date: Sat Jun 21 2008 - 22:16:04 EST



early_cpu_init is declcared in processor.h
memory_setup is defined in e820.c

Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>

--- a/arch/x86/kernel/setup_32.c 2008-06-21 17:17:02.000000000 -0700
+++ b/arch/x86/kernel/setup_32.c 2008-06-21 17:17:51.000000000 -0700
@@ -207,7 +207,6 @@ struct ist_info ist_info;
EXPORT_SYMBOL(ist_info);
#endif

-extern void early_cpu_init(void);
extern int root_mountflags;

unsigned long saved_video_mode;
@@ -607,12 +606,6 @@ static void set_mca_bus(int x)
static void set_mca_bus(int x) { }
#endif

-/* Overridden in paravirt.c if CONFIG_PARAVIRT */
-char * __init __attribute__((weak)) memory_setup(void)
-{
- return machine_specific_memory_setup();
-}
-
/*
* Determine if we were loaded by an EFI loader. If so, then we have also been
* passed the efi memmap, systab, etc., so we should use these data structures
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/