2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00

powerpc: Little endian fix for arch/powerpc/platforms/powernv/pci-p5ioc2.c

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Alistair Popple 2013-09-23 12:04:56 +10:00 committed by Benjamin Herrenschmidt
parent 044cb69c53
commit 8c5fcc83af

View File

@ -99,7 +99,7 @@ static void __init pnv_pci_init_p5ioc2_phb(struct device_node *np, u64 hub_id,
void *tce_mem, u64 tce_size) void *tce_mem, u64 tce_size)
{ {
struct pnv_phb *phb; struct pnv_phb *phb;
const u64 *prop64; const __be64 *prop64;
u64 phb_id; u64 phb_id;
int64_t rc; int64_t rc;
static int primary = 1; static int primary = 1;
@ -178,7 +178,7 @@ static void __init pnv_pci_init_p5ioc2_phb(struct device_node *np, u64 hub_id,
void __init pnv_pci_init_p5ioc2_hub(struct device_node *np) void __init pnv_pci_init_p5ioc2_hub(struct device_node *np)
{ {
struct device_node *phbn; struct device_node *phbn;
const u64 *prop64; const __be64 *prop64;
u64 hub_id; u64 hub_id;
void *tce_mem; void *tce_mem;
uint64_t tce_per_phb; uint64_t tce_per_phb;