kernel-fxtec-pro1x/arch
Christian Krafft aac2e68481 [POWERPC] spu_manage: fix spu_unit_number for celleb device tree
This fixes a regression introduced with 2.6.23-rc4 after on some
confusion about the device tree interfaces.

IBM QS21 device trees provide "physical-id", so we changed the code to
run on that and remain compatible with all IBM machines.

However, the Toshiba Celleb device tree provides the "unit-id" property,
which was in the Linux code, but never used in this way on IBM hardware.

Legacy device tree used the reg property for the physical id of an spe.
This patch fixes find_spu_unit_number to look for the spu id in that order.
The length is checked to avoid misinterpretation in case the attributes
unit-id or reg do not contain the id.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
2007-08-30 01:35:05 +02:00
..
alpha alpha: -Werror fixes for sys_titan.c 2007-08-11 15:47:42 -07:00
arm [ARM] 4549/1: KS8695: Fix build errors 2007-08-14 17:23:55 +01:00
avr32 [AVR32] Wire up i2c-gpio on the ATNGW100 board 2007-08-15 16:36:55 +02:00
blackfin Blackfin arch: after removing fs.h from mm.h, fix the broken on Blackfin arch 2007-08-11 15:47:39 -07:00
cris ide: fix hidden dependencies on CONFIG_IDE_GENERIC 2007-08-20 22:42:54 +02:00
frv FRV: connect up fallocate 2007-08-11 15:47:40 -07:00
h8300 h8300: missing include 2007-08-22 19:52:44 -07:00
i386 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2007-08-25 07:54:38 -07:00
ia64 [IA64] Enable early console for Ski simulator 2007-08-17 13:44:15 -07:00
m32r m32r: build fix for removing fs.h from mm.h 2007-07-30 10:52:10 -07:00
m68k m68k: Dont include RODATA into text segment 2007-08-22 19:52:45 -07:00
m68knommu m68knommu: include linux/fs.h for do_pipe() 2007-08-23 21:32:54 -07:00
mips [MIPS] Fulong doesn't need ISA DMA. 2007-08-27 02:17:00 +01:00
parisc [PARISC] Add NOTES section 2007-08-27 00:29:25 -04:00
powerpc [POWERPC] spu_manage: fix spu_unit_number for celleb device tree 2007-08-30 01:35:05 +02:00
ppc [POWERPC] Fix small race in 44x tlbie function 2007-08-15 15:12:50 +10:00
s390 [S390] kprobes: fix instruction length calculation 2007-08-22 13:51:49 +02:00
sh sh: missing symbol fix for sh4-202 2007-08-22 13:32:07 +09:00
sh64 sh64: arch/sh64/kernel/setup.c: duplicate include removal. 2007-08-12 12:18:54 +09:00
sparc [SPARC32]: Kill unused vars and macros from prom/console.c 2007-08-26 18:49:10 -07:00
sparc64 [SPARC64]: SMP trampoline needs to avoid %tick_cmpr on sun4v too. 2007-08-16 01:56:00 -07:00
um uml: fix previous request size limit fix 2007-08-22 19:52:46 -07:00
v850 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
x86_64 Pull bugzilla-1641 into release branch 2007-08-24 22:19:05 -04:00
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00