]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sparc32: Kill totally unused memory information tables.
authorDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 04:28:59 +0000 (21:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 12:22:53 +0000 (05:22 -0700)
commitccc34028d46230f715eeda4c8cce27e919934fad
treefa9ef4679b6c30c5b439471ba39c5e383011c25e
parent2678fefedbbc03a3ae6f5c254791bf147d6c52fd
sparc32: Kill totally unused memory information tables.

The code in arch/sparc/prom/memory.c computes three tables, the list
of total memory, the list of available memory (total minus what
firmware is using), and the list of firmware taken memory.

Only the available memory list is even used.

Therefore, kill those unused tables and make prom_meminfo() return
just the available memory list.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/fault.c
arch/sparc/prom/memory.c
include/asm-sparc/oplib.h