tmp_suning_uos_patched/arch
David Gibson 7c40542ffa [POWERPC] Fix bug adding properties with flatdevtree.c's ft_set_prop()
ft_set_prop() from flatdevtree.c in the zImage wrapper will either
replace an existing property in the flat device tree, or add a new
property definiion if the given property isn't present.

However, when adding properties, it adds the property definition
immediately before the node's END_NODE tag, potentially after any
subnode definitions for the node.  This confuses the kernel flat tree
parser in prom.c which assumes that all property definitions for a
node come before all subnode definitions.

This patch corrects ft_set_prop() so that it adds new properties
before the first subnode, instead of before the END_NODE tag.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-05-17 21:11:13 +10:00
..
alpha utimensat implementation 2007-05-08 11:15:18 -07:00
arm arm: walk_stacktrace() needs to be exported 2007-05-15 18:56:37 -07:00
arm26 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
avr32 [AVR32] Implement platform hooks for atmel_lcdfb driver 2007-05-15 14:13:27 +02:00
blackfin rename thread_info to stack 2007-05-09 12:30:56 -07:00
cris Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
frv frv: gdb: use __maybe_unused 2007-05-11 08:29:33 -07:00
h8300 h8300 syscall update 2007-05-11 08:29:33 -07:00
i386 x86: Fix discontigmem + non-HIGHMEM compile 2007-05-15 18:45:49 -07:00
ia64 [IA64] optimize pagefaults a little 2007-05-16 09:00:51 -07:00
m32r m32r: fix tme_handler to check _PAGE_PRESENT bit 2007-05-11 08:29:33 -07:00
m68k m68k: implement __clear_user() 2007-05-15 08:54:00 -07:00
m68knommu Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-05-09 12:54:17 -07:00
mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-ip22 2007-05-11 10:00:50 -07:00
parisc rename thread_info to stack 2007-05-09 12:30:56 -07:00
powerpc [POWERPC] Fix bug adding properties with flatdevtree.c's ft_set_prop() 2007-05-17 21:11:13 +10:00
ppc [PPC] MCC2 missing in MPC826x device_list 2007-05-17 21:10:17 +10:00
s390 [PATCH] audit signal recipients 2007-05-11 05:38:25 -04:00
sh Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-05-09 13:08:20 -07:00
sh64 sh64: Add .gitignore entry for syscalltab. 2007-05-14 10:15:18 +09:00
sparc [SPARC32]: Update defconfig. 2007-05-14 03:53:12 -07:00
sparc64 [SPARC64]: Add hypervisor API negotiation and fix console bugs. 2007-05-15 20:23:02 -07:00
um fix uml-x86_64 2007-05-15 18:56:37 -07:00
v850 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-05-09 12:54:17 -07:00
x86_64 Revert "ipmi: add new IPMI nmi watchdog handling" 2007-05-14 15:24:24 -07:00
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-05-09 12:54:17 -07:00