diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-03-23 01:38:10 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-26 22:48:08 -0500 |
commit | af308377e204e25f1f58627d05fe0f483703b514 (patch) | |
tree | bed18644cbf621ecb5447e626e6a0957ab363a46 /arch/powerpc/kernel/setup_32.c | |
parent | 7c92943c7b6c42fa631ac2b67aeb507e727cd75b (diff) |
[PATCH] powerpc: fix various sparse warnings
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index dc2770df25b..676f894c338 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -111,7 +111,7 @@ unsigned long __init early_init(unsigned long dt_ptr) | |||
111 | 111 | ||
112 | /* First zero the BSS -- use memset_io, some platforms don't have | 112 | /* First zero the BSS -- use memset_io, some platforms don't have |
113 | * caches on yet */ | 113 | * caches on yet */ |
114 | memset_io(PTRRELOC(&__bss_start), 0, _end - __bss_start); | 114 | memset_io((void __iomem *)PTRRELOC(&__bss_start), 0, _end - __bss_start); |
115 | 115 | ||
116 | /* | 116 | /* |
117 | * Identify the CPU type and fix up code sections | 117 | * Identify the CPU type and fix up code sections |