]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78438d1b83bcee8c7c13a8cca35f937cabdaa116
treeb4b60a1d2a0a25c8b1f1fbf322a44d89817a22da
parentca278336596fcf190518c60a14502ff8b010f47a
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