aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/time.c2
-rw-r--r--arch/powerpc/sysdev/xics/icp-native.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 65ab9e909377..c863aa1f524a 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -612,7 +612,7 @@ unsigned long long sched_clock(void)
612static int __init get_freq(char *name, int cells, unsigned long *val) 612static int __init get_freq(char *name, int cells, unsigned long *val)
613{ 613{
614 struct device_node *cpu; 614 struct device_node *cpu;
615 const unsigned int *fp; 615 const __be32 *fp;
616 int found = 0; 616 int found = 0;
617 617
618 /* The cpu node should have timebase and clock frequency properties */ 618 /* The cpu node should have timebase and clock frequency properties */
diff --git a/arch/powerpc/sysdev/xics/icp-native.c b/arch/powerpc/sysdev/xics/icp-native.c
index 7cd728b3b5e4..9dee47071af8 100644
--- a/arch/powerpc/sysdev/xics/icp-native.c
+++ b/arch/powerpc/sysdev/xics/icp-native.c
@@ -216,7 +216,7 @@ static int __init icp_native_init_one_node(struct device_node *np,
216 unsigned int *indx) 216 unsigned int *indx)
217{ 217{
218 unsigned int ilen; 218 unsigned int ilen;
219 const u32 *ireg; 219 const __be32 *ireg;
220 int i; 220 int i;
221 int reg_tuple_size; 221 int reg_tuple_size;
222 int num_servers = 0; 222 int num_servers = 0;