Skip to content

Commit 5263bf6

Browse files
author
Linus Torvalds
committed
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: [POWERPC] Fix sys_pciconfig_iobase bus matching [POWERPC] PS3: add not complete comment to kconfig [POWERPC] ps3_free_io_irq: Fix inverted error check [POWERPC] PS3: Fix uniprocessor kernel build
2 parents 7d620a4 + 545da94 commit 5263bf6

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎arch/powerpc/Kconfig‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,12 +526,15 @@ config PPC_IBM_CELL_BLADE
526526
select UDBG_RTAS_CONSOLE
527527

528528
config PPC_PS3
529-
bool "Sony PS3"
529+
bool "Sony PS3 (incomplete)"
530530
depends on PPC_MULTIPLATFORM && PPC64
531531
select PPC_CELL
532532
help
533533
This option enables support for the Sony PS3 game console
534534
and other platforms using the PS3 hypervisor.
535+
Support for this platform is not yet complete, so
536+
enabling this will not result in a bootable kernel on a
537+
PS3 system.
535538

536539
config PPC_NATIVE
537540
bool

‎arch/powerpc/kernel/pci_64.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ long sys_pciconfig_iobase(long which, unsigned long in_bus,
14301430

14311431
for (ln = pci_root_buses.next; ln != &pci_root_buses; ln = ln->next) {
14321432
bus = pci_bus_b(ln);
1433-
if (in_bus >= bus->number && in_bus < (bus->number + bus->subordinate))
1433+
if (in_bus >= bus->number && in_bus <= bus->subordinate)
14341434
break;
14351435
bus = NULL;
14361436
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
obj-y += setup.o mm.o smp.o time.o hvcall.o htab.o repository.o
1+
obj-y += setup.o mm.o time.o hvcall.o htab.o repository.o
22
obj-y += interrupt.o exports.o os-area.o
33

4+
obj-$(CONFIG_SMP) += smp.o
45
obj-$(CONFIG_SPU_BASE) += spu.o

‎arch/powerpc/platforms/ps3/interrupt.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ int ps3_free_io_irq(unsigned int virq)
7171

7272
result = lv1_destruct_io_irq_outlet(virq_to_hw(virq));
7373

74-
if (!result)
74+
if (result)
7575
pr_debug("%s:%d: lv1_destruct_io_irq_outlet failed: %s\n",
7676
__func__, __LINE__, ps3_result(result));
7777

0 commit comments

Comments
 (0)