diff options
author | Paul Mackerras <paulus@samba.org> | 2007-02-06 22:05:13 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-06 22:05:13 -0500 |
commit | 8423200553113cc031caa9b147f6150a8e26545c (patch) | |
tree | 752c93a200c9ba056c7469c96f7e27d02c99291d /arch/powerpc | |
parent | f03e64f2ca6ee3d0b7824536b1940497701fe766 (diff) | |
parent | 62d0cfcb27cf755cebdc93ca95dabc83608007cd (diff) |
Merge branch 'linux-2.6'
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 6 | ||||
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/vdso.c | 7 |
3 files changed, 13 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5f80f0b828f2..aeb53096acf7 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -492,6 +492,7 @@ config PPC_MAPLE | |||
492 | select PPC_NATIVE | 492 | select PPC_NATIVE |
493 | select PPC_RTAS | 493 | select PPC_RTAS |
494 | select MMIO_NVRAM | 494 | select MMIO_NVRAM |
495 | select ATA_NONSTANDARD if ATA | ||
495 | default n | 496 | default n |
496 | help | 497 | help |
497 | This option enables support for the Maple 970FX Evaluation Board. | 498 | This option enables support for the Maple 970FX Evaluation Board. |
@@ -533,12 +534,15 @@ config PPC_IBM_CELL_BLADE | |||
533 | select UDBG_RTAS_CONSOLE | 534 | select UDBG_RTAS_CONSOLE |
534 | 535 | ||
535 | config PPC_PS3 | 536 | config PPC_PS3 |
536 | bool "Sony PS3" | 537 | bool "Sony PS3 (incomplete)" |
537 | depends on PPC_MULTIPLATFORM && PPC64 | 538 | depends on PPC_MULTIPLATFORM && PPC64 |
538 | select PPC_CELL | 539 | select PPC_CELL |
539 | help | 540 | help |
540 | This option enables support for the Sony PS3 game console | 541 | This option enables support for the Sony PS3 game console |
541 | and other platforms using the PS3 hypervisor. | 542 | and other platforms using the PS3 hypervisor. |
543 | Support for this platform is not yet complete, so | ||
544 | enabling this will not result in a bootable kernel on a | ||
545 | PS3 system. | ||
542 | 546 | ||
543 | config PPC_CELLEB | 547 | config PPC_CELLEB |
544 | bool "Toshiba's Cell Reference Set 'Celleb' Architecture" | 548 | bool "Toshiba's Cell Reference Set 'Celleb' Architecture" |
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index b6d08738180b..6828df4afd99 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -1429,7 +1429,7 @@ long sys_pciconfig_iobase(long which, unsigned long in_bus, | |||
1429 | 1429 | ||
1430 | for (ln = pci_root_buses.next; ln != &pci_root_buses; ln = ln->next) { | 1430 | for (ln = pci_root_buses.next; ln != &pci_root_buses; ln = ln->next) { |
1431 | bus = pci_bus_b(ln); | 1431 | bus = pci_bus_b(ln); |
1432 | if (in_bus >= bus->number && in_bus < (bus->number + bus->subordinate)) | 1432 | if (in_bus >= bus->number && in_bus <= bus->subordinate) |
1433 | break; | 1433 | break; |
1434 | bus = NULL; | 1434 | bus = NULL; |
1435 | } | 1435 | } |
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index a4b28c73bba0..ae0ede19879d 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c | |||
@@ -284,6 +284,13 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, | |||
284 | * pages though | 284 | * pages though |
285 | */ | 285 | */ |
286 | vma->vm_flags = VM_READ|VM_EXEC|VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC; | 286 | vma->vm_flags = VM_READ|VM_EXEC|VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC; |
287 | /* | ||
288 | * Make sure the vDSO gets into every core dump. | ||
289 | * Dumping its contents makes post-mortem fully interpretable later | ||
290 | * without matching up the same kernel and hardware config to see | ||
291 | * what PC values meant. | ||
292 | */ | ||
293 | vma->vm_flags |= VM_ALWAYSDUMP; | ||
287 | vma->vm_flags |= mm->def_flags; | 294 | vma->vm_flags |= mm->def_flags; |
288 | vma->vm_page_prot = protection_map[vma->vm_flags & 0x7]; | 295 | vma->vm_page_prot = protection_map[vma->vm_flags & 0x7]; |
289 | vma->vm_ops = &vdso_vmops; | 296 | vma->vm_ops = &vdso_vmops; |