linux/arch/powerpc
Sebastian Siewior 982cf00412 of/address: Use propper endianess in get_flags
This patch changes u32 to __be32 for all "ranges", "prop" and "addr" and
such. Those variables are pointing to the device tree which containts
intergers in big endian format.
Most functions are doing it right because of_read_number() is doing the
right thing for them. of_bus_isa_get_flags(), of_bus_pci_get_flags() and
of_bus_isa_map() were accessing the data directly and were doing it wrong.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-12-09 15:36:30 +11:00
..
boot powerpc/4xx: Add Canyonlands suspend and idle support 2010-11-29 10:05:24 -05:00
configs powerpc/4xx: Add Canyonlands suspend and idle support 2010-11-29 10:05:24 -05:00
include/asm of/address: Use propper endianess in get_flags 2010-12-09 15:36:30 +11:00
kernel powerpc/pci: Use printf extension %pR for struct resource 2010-12-09 15:36:30 +11:00
kvm KVM: PPC: BookE: Load the lower half of MSR 2010-11-05 14:42:29 -02:00
lib powerpc: Hardcode popcnt instructions for old assemblers 2010-12-09 15:35:30 +11:00
math-emu powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
mm powerpc: Remove unnecessary casts of void ptr 2010-12-09 15:36:30 +11:00
oprofile oprofile/fsl emb: Don't set MSR[PMM] until after clearing the interrupt. 2010-10-14 00:53:05 -05:00
platforms powerpc/pseries: Pass phb only to iommu_table_setparms_lpar 2010-12-09 15:24:01 +11:00
sysdev powerpc/pci: Use printf extension %pR for struct resource 2010-12-09 15:36:30 +11:00
xmon powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
Kconfig powerpc/4xx: Add suspend and idle support 2010-11-29 10:05:06 -05:00
Kconfig.debug powerpc: Unconditionally enabled irq stacks 2010-06-15 15:02:37 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00