aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/cell')
-rw-r--r--arch/powerpc/platforms/cell/Kconfig2
-rw-r--r--arch/powerpc/platforms/cell/celleb_scc_sio.c5
-rw-r--r--arch/powerpc/platforms/cell/spu_callbacks.c13
-rw-r--r--arch/powerpc/platforms/cell/spufs/sched.c1
4 files changed, 10 insertions, 11 deletions
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
index 2e7ff0c5cf42..53aaefeb3386 100644
--- a/arch/powerpc/platforms/cell/Kconfig
+++ b/arch/powerpc/platforms/cell/Kconfig
@@ -124,7 +124,7 @@ config CBE_CPUFREQ
124 124
125config CBE_CPUFREQ_PMI_ENABLE 125config CBE_CPUFREQ_PMI_ENABLE
126 bool "CBE frequency scaling using PMI interface" 126 bool "CBE frequency scaling using PMI interface"
127 depends on CBE_CPUFREQ && EXPERIMENTAL 127 depends on CBE_CPUFREQ
128 default n 128 default n
129 help 129 help
130 Select this, if you want to use the PMI interface 130 Select this, if you want to use the PMI interface
diff --git a/arch/powerpc/platforms/cell/celleb_scc_sio.c b/arch/powerpc/platforms/cell/celleb_scc_sio.c
index 3a16c5b3c464..9c339ec646f5 100644
--- a/arch/powerpc/platforms/cell/celleb_scc_sio.c
+++ b/arch/powerpc/platforms/cell/celleb_scc_sio.c
@@ -42,14 +42,13 @@ static struct {
42static int __init txx9_serial_init(void) 42static int __init txx9_serial_init(void)
43{ 43{
44 extern int early_serial_txx9_setup(struct uart_port *port); 44 extern int early_serial_txx9_setup(struct uart_port *port);
45 struct device_node *node = NULL; 45 struct device_node *node;
46 int i; 46 int i;
47 struct uart_port req; 47 struct uart_port req;
48 struct of_irq irq; 48 struct of_irq irq;
49 struct resource res; 49 struct resource res;
50 50
51 while ((node = of_find_compatible_node(node, 51 for_each_compatible_node(node, "serial", "toshiba,sio-scc") {
52 "serial", "toshiba,sio-scc")) != NULL) {
53 for (i = 0; i < ARRAY_SIZE(txx9_scc_tab); i++) { 52 for (i = 0; i < ARRAY_SIZE(txx9_scc_tab); i++) {
54 if (!(txx9_serial_bitmap & (1<<i))) 53 if (!(txx9_serial_bitmap & (1<<i)))
55 continue; 54 continue;
diff --git a/arch/powerpc/platforms/cell/spu_callbacks.c b/arch/powerpc/platforms/cell/spu_callbacks.c
index 75d613313f10..b0ec78e8ad68 100644
--- a/arch/powerpc/platforms/cell/spu_callbacks.c
+++ b/arch/powerpc/platforms/cell/spu_callbacks.c
@@ -60,13 +60,12 @@ long spu_sys_callback(struct spu_syscall_block *s)
60 60
61 syscall = spu_syscall_table[s->nr_ret]; 61 syscall = spu_syscall_table[s->nr_ret];
62 62
63#ifdef DEBUG 63 pr_debug("SPU-syscall "
64 print_symbol(KERN_DEBUG "SPU-syscall %s:", (unsigned long)syscall); 64 "%pSR:syscall%lld(%llx, %llx, %llx, %llx, %llx, %llx)\n",
65 printk("syscall%ld(%lx, %lx, %lx, %lx, %lx, %lx)\n", 65 syscall,
66 s->nr_ret, 66 s->nr_ret,
67 s->parm[0], s->parm[1], s->parm[2], 67 s->parm[0], s->parm[1], s->parm[2],
68 s->parm[3], s->parm[4], s->parm[5]); 68 s->parm[3], s->parm[4], s->parm[5]);
69#endif
70 69
71 return syscall(s->parm[0], s->parm[1], s->parm[2], 70 return syscall(s->parm[0], s->parm[1], s->parm[2],
72 s->parm[3], s->parm[4], s->parm[5]); 71 s->parm[3], s->parm[4], s->parm[5]);
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c
index 25db92a8e1cf..49318385d4fa 100644
--- a/arch/powerpc/platforms/cell/spufs/sched.c
+++ b/arch/powerpc/platforms/cell/spufs/sched.c
@@ -24,6 +24,7 @@
24 24
25#include <linux/errno.h> 25#include <linux/errno.h>
26#include <linux/sched.h> 26#include <linux/sched.h>
27#include <linux/sched/rt.h>
27#include <linux/kernel.h> 28#include <linux/kernel.h>
28#include <linux/mm.h> 29#include <linux/mm.h>
29#include <linux/slab.h> 30#include <linux/slab.h>