linux-stable/arch/powerpc
Michael Ellerman d385366a9b [POWERPC] Simplify rtas_change_msi() error semantics
Currently rtas_change_msi() returns either the error code from RTAS, or if
the RTAS call succeeded the number of irqs that were configured by RTAS.
This makes checking the return value more complicated than it needs to be.

Instead, have rtas_change_msi() check that the number of irqs configured by
RTAS is equal to what we requested - and return an error otherwise. This makes
the return semantics match the usual 0 for success, something else for error.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-03 09:11:39 +10:00
..
boot [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
configs [POWERPC] 4xx: Convert Seqouia flash mappings to new binding 2007-09-19 21:13:16 -05:00
kernel [POWERPC] Fix build errors when BLOCK=n 2007-09-22 14:49:22 +10:00
lib [POWERPC] Fix section mismatch in PCI code 2007-09-19 15:25:34 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Remove barriers from the SLB shadow buffer update 2007-09-19 14:40:54 +10:00
oprofile Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
platforms [POWERPC] Simplify rtas_change_msi() error semantics 2007-10-03 09:11:39 +10:00
sysdev [POWERPC] Simplify error logic in u3msi_setup_msi_irqs() 2007-10-03 09:11:32 +10:00
xmon [POWERPC] fix showing xmon help 2007-07-22 21:30:58 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] IOMMU virtual merge is no longer experimental 2007-09-14 01:33:19 +10:00
Kconfig.debug [POWERPC] Export virq mapping via debugfs 2007-09-14 01:33:20 +10:00
Makefile [POWERPC] add Kconfig option for optimizing for cell 2007-09-22 14:49:22 +10:00