diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-07-26 11:02:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-26 16:46:17 -0700 |
commit | d8a1b2b94ca5fe219b3c77389e2424145c24c668 (patch) | |
tree | ceeee085e688f6872b2dea354ce107a7b5050825 /arch/sparc/mm/fault_32.c | |
parent | 2acdf2cefe8065a35844566bf996628fbcc9e014 (diff) | |
download | linux-d8a1b2b94ca5fe219b3c77389e2424145c24c668.tar.bz2 |
sparc32: move probe_memory() to srmmu.c
Only one user so move it to the file using it.
It had nothing to do in fault_32.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/fault_32.c')
-rw-r--r-- | arch/sparc/mm/fault_32.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c index e58f9ee718cb..77ac917be152 100644 --- a/arch/sparc/mm/fault_32.c +++ b/arch/sparc/mm/fault_32.c @@ -32,18 +32,6 @@ int show_unhandled_signals = 1; -/* Return how much physical memory we have. */ -unsigned long probe_memory(void) -{ - unsigned long total = 0; - int i; - - for (i = 0; sp_banks[i].num_bytes; i++) - total += sp_banks[i].num_bytes; - - return total; -} - static void unhandled_fault(unsigned long, struct task_struct *, struct pt_regs *) __attribute__ ((noreturn)); |