[POWERPC] cell: add cbe_node_to_cpu function
authorChristian Krafft <krafft@de.ibm.com>
Mon, 23 Apr 2007 19:35:39 +0000 (21:35 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:44:38 +0000 (21:44 +0200)
commit91a69c9646a5b709381d99a171890e77377b1b9c
tree3827389a195eecd0e010e53d926318328edab25f
parent390cbb56a731546edc0f35fbc4c5045676467581
[POWERPC] cell: add cbe_node_to_cpu function

This patch adds code to deal with conversion of
logical cpu to cbe nodes. It removes code that
assummed there were two logical CPUs per CBE.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/oprofile/op_model_cell.c
arch/powerpc/platforms/cell/cbe_regs.c
arch/powerpc/platforms/cell/cbe_regs.h
include/asm-powerpc/cell-pmu.h