aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-08-06 12:01:34 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 01:33:24 -0400
commit6f7aba7bb4bd09824992cda7f77d4e8b1704a04c (patch)
tree5a2533ce2f0999cabdfcb684a316f0745f72b61c /arch/powerpc/sysdev
parent43f88120270f63e71a4a9b389b8a806af4e40d23 (diff)
powerpc: Add some endian annotations to time and xics code
Fix a couple of sparse warnings. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/xics/icp-native.c2
1 files changed, 1 insertions, 1 deletions
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;