diff options
author | Christian Krafft <krafft@de.ibm.com> | 2007-04-23 23:35:39 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 23:44:38 +0400 |
commit | 91a69c9646a5b709381d99a171890e77377b1b9c (patch) | |
tree | 3827389a195eecd0e010e53d926318328edab25f /arch/powerpc/oprofile/op_model_cell.c | |
parent | 390cbb56a731546edc0f35fbc4c5045676467581 (diff) | |
download | linux-91a69c9646a5b709381d99a171890e77377b1b9c.tar.xz |
[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>
Diffstat (limited to 'arch/powerpc/oprofile/op_model_cell.c')
-rw-r--r-- | arch/powerpc/oprofile/op_model_cell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/oprofile/op_model_cell.c b/arch/powerpc/oprofile/op_model_cell.c index e08e1d7b3dc5..fb999e3e9f21 100644 --- a/arch/powerpc/oprofile/op_model_cell.c +++ b/arch/powerpc/oprofile/op_model_cell.c @@ -37,6 +37,7 @@ #include <asm/system.h> #include "../platforms/cell/interrupt.h" +#include "../platforms/cell/cbe_regs.h" #define PPU_CYCLES_EVENT_NUM 1 /* event number for CYCLES */ #define PPU_CYCLES_GRP_NUM 1 /* special group number for identifying |