projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d649bd7
)
[POWERPC] Fix oprofile support on Cell LPAR
author
Ishizaki Kou
<kou.ishizaki@toshiba.co.jp>
Fri, 12 Jan 2007 00:56:44 +0000
(09:56 +0900)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 24 Jan 2007 10:13:59 +0000
(21:13 +1100)
Op_model_cell supports native Cell. By returning -EINVAL, oprofile
uses timer interrupt on Cell LPAR.
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/oprofile/common.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/oprofile/common.c
b/arch/powerpc/oprofile/common.c
index b6d82390b6a6a8bbf854b04d72135ba91439da97..fbd62eacfdf4264c5620167ce78edc77f157654b 100644
(file)
--- a/
arch/powerpc/oprofile/common.c
+++ b/
arch/powerpc/oprofile/common.c
@@
-149,6
+149,8
@@
int __init oprofile_arch_init(struct oprofile_operations *ops)
#ifdef CONFIG_PPC64
#ifdef CONFIG_PPC_CELL_NATIVE
case PPC_OPROFILE_CELL:
+ if (firmware_has_feature(FW_FEATURE_LPAR))
+ return -ENODEV;
model = &op_model_cell;
break;
#endif