[PATCH] [POWERPC] Remove unused __max_memory variable

Olof Johansson olof at lixom.net
Tue Apr 8 01:33:07 EST 2008


Remove the __max_memory variable, it is not referenced anywhere
in the tree besides some code in arch/ppc.


Signed-off-by: Olof Johansson <olof at lixom.net>

diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index 5f55399..82edd63 100644
--- a/arch/powerpc/mm/init_64.c
+++ b/arch/powerpc/mm/init_64.c
@@ -72,9 +72,6 @@
 #warning TASK_SIZE is smaller than it needs to be.
 #endif
 
-/* max amount of RAM to use */
-unsigned long __max_memory;
-
 void free_initmem(void)
 {
 	unsigned long addr;



More information about the Linuxppc-dev mailing list