diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/ps3-head.S | 2 | ||||
-rw-r--r-- | arch/powerpc/boot/ps3-hvcall.S | 2 | ||||
-rw-r--r-- | arch/powerpc/mm/tlb_32.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/ps3/Kconfig | 36 |
5 files changed, 44 insertions, 2 deletions
diff --git a/arch/powerpc/boot/ps3-head.S b/arch/powerpc/boot/ps3-head.S index 1a6d64a68df5..a55c2735f759 100644 --- a/arch/powerpc/boot/ps3-head.S +++ b/arch/powerpc/boot/ps3-head.S | |||
@@ -20,6 +20,8 @@ | |||
20 | 20 | ||
21 | #include "ppc_asm.h" | 21 | #include "ppc_asm.h" |
22 | 22 | ||
23 | .machine "ppc64" | ||
24 | |||
23 | .text | 25 | .text |
24 | 26 | ||
25 | /* | 27 | /* |
diff --git a/arch/powerpc/boot/ps3-hvcall.S b/arch/powerpc/boot/ps3-hvcall.S index c8b7df3210d1..585965f7e6a8 100644 --- a/arch/powerpc/boot/ps3-hvcall.S +++ b/arch/powerpc/boot/ps3-hvcall.S | |||
@@ -20,6 +20,8 @@ | |||
20 | 20 | ||
21 | #include "ppc_asm.h" | 21 | #include "ppc_asm.h" |
22 | 22 | ||
23 | .machine "ppc64" | ||
24 | |||
23 | /* | 25 | /* |
24 | * The PS3 hypervisor uses a 64 bit "C" language calling convention. | 26 | * The PS3 hypervisor uses a 64 bit "C" language calling convention. |
25 | * The routines here marshal arguments between the 32 bit wrapper | 27 | * The routines here marshal arguments between the 32 bit wrapper |
diff --git a/arch/powerpc/mm/tlb_32.c b/arch/powerpc/mm/tlb_32.c index 06c7e77e097a..eb4b512d65fa 100644 --- a/arch/powerpc/mm/tlb_32.c +++ b/arch/powerpc/mm/tlb_32.c | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <linux/mm.h> | 26 | #include <linux/mm.h> |
27 | #include <linux/init.h> | 27 | #include <linux/init.h> |
28 | #include <linux/highmem.h> | 28 | #include <linux/highmem.h> |
29 | #include <linux/pagemap.h> | ||
30 | |||
29 | #include <asm/tlbflush.h> | 31 | #include <asm/tlbflush.h> |
30 | #include <asm/tlb.h> | 32 | #include <asm/tlb.h> |
31 | 33 | ||
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 7de4e919687b..4100ddc52f02 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -2177,8 +2177,8 @@ struct tree_descr spufs_dir_contents[] = { | |||
2177 | { "mbox_stat", &spufs_mbox_stat_fops, 0444, }, | 2177 | { "mbox_stat", &spufs_mbox_stat_fops, 0444, }, |
2178 | { "ibox_stat", &spufs_ibox_stat_fops, 0444, }, | 2178 | { "ibox_stat", &spufs_ibox_stat_fops, 0444, }, |
2179 | { "wbox_stat", &spufs_wbox_stat_fops, 0444, }, | 2179 | { "wbox_stat", &spufs_wbox_stat_fops, 0444, }, |
2180 | { "signal1", &spufs_signal1_fops, 0666, }, | 2180 | { "signal1", &spufs_signal1_nosched_fops, 0222, }, |
2181 | { "signal2", &spufs_signal2_fops, 0666, }, | 2181 | { "signal2", &spufs_signal2_nosched_fops, 0222, }, |
2182 | { "signal1_type", &spufs_signal1_type, 0666, }, | 2182 | { "signal1_type", &spufs_signal1_type, 0666, }, |
2183 | { "signal2_type", &spufs_signal2_type, 0666, }, | 2183 | { "signal2_type", &spufs_signal2_type, 0666, }, |
2184 | { "cntl", &spufs_cntl_fops, 0666, }, | 2184 | { "cntl", &spufs_cntl_fops, 0666, }, |
diff --git a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig index a05079b07696..d4fc74f7bb15 100644 --- a/arch/powerpc/platforms/ps3/Kconfig +++ b/arch/powerpc/platforms/ps3/Kconfig | |||
@@ -102,4 +102,40 @@ config PS3_STORAGE | |||
102 | depends on PPC_PS3 | 102 | depends on PPC_PS3 |
103 | tristate | 103 | tristate |
104 | 104 | ||
105 | config PS3_DISK | ||
106 | tristate "PS3 Disk Storage Driver" | ||
107 | depends on PPC_PS3 && BLOCK | ||
108 | select PS3_STORAGE | ||
109 | help | ||
110 | Include support for the PS3 Disk Storage. | ||
111 | |||
112 | This support is required to access the PS3 hard disk. | ||
113 | In general, all users will say Y or M. | ||
114 | |||
115 | config PS3_ROM | ||
116 | tristate "PS3 BD/DVD/CD-ROM Storage Driver" | ||
117 | depends on PPC_PS3 && SCSI | ||
118 | select PS3_STORAGE | ||
119 | help | ||
120 | Include support for the PS3 ROM Storage. | ||
121 | |||
122 | This support is required to access the PS3 BD/DVD/CD-ROM drive. | ||
123 | In general, all users will say Y or M. | ||
124 | Also make sure to say Y or M to "SCSI CDROM support" later. | ||
125 | |||
126 | config PS3_FLASH | ||
127 | tristate "PS3 FLASH ROM Storage Driver" | ||
128 | depends on PPC_PS3 | ||
129 | select PS3_STORAGE | ||
130 | help | ||
131 | Include support for the PS3 FLASH ROM Storage. | ||
132 | |||
133 | This support is required to access the PS3 FLASH ROM, which | ||
134 | contains the boot loader and some boot options. | ||
135 | In general, all users will say Y or M. | ||
136 | |||
137 | As this driver needs a fixed buffer of 256 KiB of memory, it can | ||
138 | be disabled on the kernel command line using "ps3flash=off", to | ||
139 | not allocate this fixed buffer. | ||
140 | |||
105 | endmenu | 141 | endmenu |