[PATCH] x86: remove duplicated e820 func in setup.h

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Andrew Morton <akpm@...>
Cc: linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Tuesday, May 27, 2008 - 7:29 pm

we already have them in e820.h

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

diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index ffa0f54..53ef090 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -50,15 +50,9 @@ extern struct boot_params boot_params;
  */
 #define LOWMEMSIZE()	(0x9f000)
 
-struct e820entry;
-
 char * __init machine_specific_memory_setup(void);
 char *memory_setup(void);
 
-int __init copy_e820_map(struct e820entry *biosmap, int nr_map);
-void __init add_memory_region(unsigned long long start,
-			      unsigned long long size, int type);
-
 extern unsigned long init_pg_tables_end;
 
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: remove duplicated e820 func in setup.h, Yinghai Lu, (Tue May 27, 7:29 pm)