diff options
author | Paul Mackerras <paulus@samba.org> | 2007-10-03 01:33:17 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 01:33:17 -0400 |
commit | 70f227d8846a8a9b1f36f71c42e11cc7c6e9408d (patch) | |
tree | fb4dd5c8240bdaada819fb569c01a392b52847b9 /arch/powerpc | |
parent | a0c7ce9c877ceef8428798ac91fb794f83609aed (diff) | |
parent | f778089cb2445dfc6dfd30a7a567925fd8589f1e (diff) |
Merge branch 'linux-2.6' into for-2.6.24
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8349emitx.dts | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/process.c | 7 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/usb.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/xics.c | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/commproc.c | 2 |
6 files changed, 14 insertions, 6 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts index f5c3086bcb5d..3bc32029ca5b 100644 --- a/arch/powerpc/boot/dts/mpc8349emitx.dts +++ b/arch/powerpc/boot/dts/mpc8349emitx.dts | |||
@@ -97,6 +97,7 @@ | |||
97 | #size-cells = <0>; | 97 | #size-cells = <0>; |
98 | interrupt-parent = < &ipic >; | 98 | interrupt-parent = < &ipic >; |
99 | interrupts = <26 8>; | 99 | interrupts = <26 8>; |
100 | dr_mode = "peripheral"; | ||
100 | phy_type = "ulpi"; | 101 | phy_type = "ulpi"; |
101 | }; | 102 | }; |
102 | 103 | ||
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 588c0cb8115e..15998b57767c 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -613,6 +613,13 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp) | |||
613 | regs->ccr = 0; | 613 | regs->ccr = 0; |
614 | regs->gpr[1] = sp; | 614 | regs->gpr[1] = sp; |
615 | 615 | ||
616 | /* | ||
617 | * We have just cleared all the nonvolatile GPRs, so make | ||
618 | * FULL_REGS(regs) return true. This is necessary to allow | ||
619 | * ptrace to examine the thread immediately after exec. | ||
620 | */ | ||
621 | regs->trap &= ~1UL; | ||
622 | |||
616 | #ifdef CONFIG_PPC32 | 623 | #ifdef CONFIG_PPC32 |
617 | regs->mq = 0; | 624 | regs->mq = 0; |
618 | regs->nip = start; | 625 | regs->nip = start; |
diff --git a/arch/powerpc/platforms/83xx/usb.c b/arch/powerpc/platforms/83xx/usb.c index e7fdf013cd39..eafe7605cdac 100644 --- a/arch/powerpc/platforms/83xx/usb.c +++ b/arch/powerpc/platforms/83xx/usb.c | |||
@@ -76,14 +76,14 @@ int mpc834x_usb_cfg(void) | |||
76 | if (port0_is_dr) | 76 | if (port0_is_dr) |
77 | printk(KERN_WARNING | 77 | printk(KERN_WARNING |
78 | "834x USB port0 can't be used by both DR and MPH!\n"); | 78 | "834x USB port0 can't be used by both DR and MPH!\n"); |
79 | sicrl |= MPC834X_SICRL_USB0; | 79 | sicrl &= ~MPC834X_SICRL_USB0; |
80 | } | 80 | } |
81 | prop = of_get_property(np, "port1", NULL); | 81 | prop = of_get_property(np, "port1", NULL); |
82 | if (prop) { | 82 | if (prop) { |
83 | if (port1_is_dr) | 83 | if (port1_is_dr) |
84 | printk(KERN_WARNING | 84 | printk(KERN_WARNING |
85 | "834x USB port1 can't be used by both DR and MPH!\n"); | 85 | "834x USB port1 can't be used by both DR and MPH!\n"); |
86 | sicrl |= MPC834X_SICRL_USB1; | 86 | sicrl &= ~MPC834X_SICRL_USB1; |
87 | } | 87 | } |
88 | of_node_put(np); | 88 | of_node_put(np); |
89 | } | 89 | } |
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index b93a0275a217..d72b16d6816e 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -2110,8 +2110,8 @@ struct tree_descr spufs_dir_contents[] = { | |||
2110 | { "mbox_stat", &spufs_mbox_stat_fops, 0444, }, | 2110 | { "mbox_stat", &spufs_mbox_stat_fops, 0444, }, |
2111 | { "ibox_stat", &spufs_ibox_stat_fops, 0444, }, | 2111 | { "ibox_stat", &spufs_ibox_stat_fops, 0444, }, |
2112 | { "wbox_stat", &spufs_wbox_stat_fops, 0444, }, | 2112 | { "wbox_stat", &spufs_wbox_stat_fops, 0444, }, |
2113 | { "signal1", &spufs_signal1_nosched_fops, 0222, }, | 2113 | { "signal1", &spufs_signal1_fops, 0666, }, |
2114 | { "signal2", &spufs_signal2_nosched_fops, 0222, }, | 2114 | { "signal2", &spufs_signal2_fops, 0666, }, |
2115 | { "signal1_type", &spufs_signal1_type, 0666, }, | 2115 | { "signal1_type", &spufs_signal1_type, 0666, }, |
2116 | { "signal2_type", &spufs_signal2_type, 0666, }, | 2116 | { "signal2_type", &spufs_signal2_type, 0666, }, |
2117 | { "cntl", &spufs_cntl_fops, 0666, }, | 2117 | { "cntl", &spufs_cntl_fops, 0666, }, |
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c index 5ddb0259b1fb..66e7d68ffeb1 100644 --- a/arch/powerpc/platforms/pseries/xics.c +++ b/arch/powerpc/platforms/pseries/xics.c | |||
@@ -419,7 +419,7 @@ static void xics_set_affinity(unsigned int virq, cpumask_t cpumask) | |||
419 | * For the moment only implement delivery to all cpus or one cpu. | 419 | * For the moment only implement delivery to all cpus or one cpu. |
420 | * Get current irq_server for the given irq | 420 | * Get current irq_server for the given irq |
421 | */ | 421 | */ |
422 | irq_server = get_irq_server(irq, 1); | 422 | irq_server = get_irq_server(virq, 1); |
423 | if (irq_server == -1) { | 423 | if (irq_server == -1) { |
424 | char cpulist[128]; | 424 | char cpulist[128]; |
425 | cpumask_scnprintf(cpulist, sizeof(cpulist), cpumask); | 425 | cpumask_scnprintf(cpulist, sizeof(cpulist), cpumask); |
diff --git a/arch/powerpc/sysdev/commproc.c b/arch/powerpc/sysdev/commproc.c index b562afc4e50c..160a8b49bdea 100644 --- a/arch/powerpc/sysdev/commproc.c +++ b/arch/powerpc/sysdev/commproc.c | |||
@@ -387,4 +387,4 @@ uint cpm_dpram_phys(u8* addr) | |||
387 | { | 387 | { |
388 | return (dpram_pbase + (uint)(addr - dpram_vbase)); | 388 | return (dpram_pbase + (uint)(addr - dpram_vbase)); |
389 | } | 389 | } |
390 | EXPORT_SYMBOL(cpm_dpram_addr); | 390 | EXPORT_SYMBOL(cpm_dpram_phys); |