diff options
Diffstat (limited to 'arch/powerpc/platforms/ps3')
-rw-r--r-- | arch/powerpc/platforms/ps3/Kconfig | 16 | ||||
-rw-r--r-- | arch/powerpc/platforms/ps3/htab.c | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig index 1a481a60a883..40f0008af4d1 100644 --- a/arch/powerpc/platforms/ps3/Kconfig +++ b/arch/powerpc/platforms/ps3/Kconfig | |||
@@ -1,3 +1,19 @@ | |||
1 | config PPC_PS3 | ||
2 | bool "Sony PS3 (incomplete)" | ||
3 | depends on PPC_MULTIPLATFORM && PPC64 | ||
4 | select PPC_CELL | ||
5 | select USB_ARCH_HAS_OHCI | ||
6 | select USB_OHCI_LITTLE_ENDIAN | ||
7 | select USB_OHCI_BIG_ENDIAN_MMIO | ||
8 | select USB_ARCH_HAS_EHCI | ||
9 | select USB_EHCI_BIG_ENDIAN_MMIO | ||
10 | help | ||
11 | This option enables support for the Sony PS3 game console | ||
12 | and other platforms using the PS3 hypervisor. | ||
13 | Support for this platform is not yet complete, so | ||
14 | enabling this will not result in a bootable kernel on a | ||
15 | PS3 system. | ||
16 | |||
1 | menu "PS3 Platform Options" | 17 | menu "PS3 Platform Options" |
2 | depends on PPC_PS3 | 18 | depends on PPC_PS3 |
3 | 19 | ||
diff --git a/arch/powerpc/platforms/ps3/htab.c b/arch/powerpc/platforms/ps3/htab.c index e12e59fea13a..ea60c451cf87 100644 --- a/arch/powerpc/platforms/ps3/htab.c +++ b/arch/powerpc/platforms/ps3/htab.c | |||
@@ -39,7 +39,7 @@ static unsigned long htab_addr; | |||
39 | static unsigned char *bolttab; | 39 | static unsigned char *bolttab; |
40 | static unsigned char *inusetab; | 40 | static unsigned char *inusetab; |
41 | 41 | ||
42 | static spinlock_t ps3_bolttab_lock = SPIN_LOCK_UNLOCKED; | 42 | static DEFINE_SPINLOCK(ps3_bolttab_lock); |
43 | 43 | ||
44 | #define debug_dump_hpte(_a, _b, _c, _d, _e, _f, _g) \ | 44 | #define debug_dump_hpte(_a, _b, _c, _d, _e, _f, _g) \ |
45 | _debug_dump_hpte(_a, _b, _c, _d, _e, _f, _g, __func__, __LINE__) | 45 | _debug_dump_hpte(_a, _b, _c, _d, _e, _f, _g, __func__, __LINE__) |