sparc64: Add generic interface for registering a dimm printing handler.
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 05:08:34 +0000 (22:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 05:08:34 +0000 (22:08 -0700)
commit881d021ab0d675f519b68df916fde969940ef988
treeb4b60a1d2a0a25c8b1f1fbf322a44d89817a22da
parent83ef64b9dea6e3ed287a45d56166913bffcd2497
sparc64: Add generic interface for registering a dimm printing handler.

The way to do this varies by platform type and the exact memory
controller the cpu uses.

For Spitfire cpus we currently just use prom_getunumber() and hope
that works.

For Cheetah cpus we have a memory controller driver that can
compute this information.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/memctrl.h [new file with mode: 0644]
arch/sparc64/kernel/chmc.c
arch/sparc64/kernel/traps.c