diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-02 20:58:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:18 -0400 |
commit | 1a38147ed0737a9c01dbf5f2ca47fd2a0aa5cb55 (patch) | |
tree | cd8ace4daea50a2a8c4bc19db156163e9f7aefb3 /arch/powerpc/kernel/machine_kexec_64.c | |
parent | 9213feea6e197f8507ec855337798cc3388f5570 (diff) |
[POWERPC] Make struct property's value a void *
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec_64.c')
-rw-r--r-- | arch/powerpc/kernel/machine_kexec_64.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c index a24b09c27718..b975b5b0e3d5 100644 --- a/arch/powerpc/kernel/machine_kexec_64.c +++ b/arch/powerpc/kernel/machine_kexec_64.c | |||
@@ -294,19 +294,19 @@ static unsigned long htab_base, kernel_end; | |||
294 | static struct property htab_base_prop = { | 294 | static struct property htab_base_prop = { |
295 | .name = "linux,htab-base", | 295 | .name = "linux,htab-base", |
296 | .length = sizeof(unsigned long), | 296 | .length = sizeof(unsigned long), |
297 | .value = (unsigned char *)&htab_base, | 297 | .value = &htab_base, |
298 | }; | 298 | }; |
299 | 299 | ||
300 | static struct property htab_size_prop = { | 300 | static struct property htab_size_prop = { |
301 | .name = "linux,htab-size", | 301 | .name = "linux,htab-size", |
302 | .length = sizeof(unsigned long), | 302 | .length = sizeof(unsigned long), |
303 | .value = (unsigned char *)&htab_size_bytes, | 303 | .value = &htab_size_bytes, |
304 | }; | 304 | }; |
305 | 305 | ||
306 | static struct property kernel_end_prop = { | 306 | static struct property kernel_end_prop = { |
307 | .name = "linux,kernel-end", | 307 | .name = "linux,kernel-end", |
308 | .length = sizeof(unsigned long), | 308 | .length = sizeof(unsigned long), |
309 | .value = (unsigned char *)&kernel_end, | 309 | .value = &kernel_end, |
310 | }; | 310 | }; |
311 | 311 | ||
312 | static void __init export_htab_values(void) | 312 | static void __init export_htab_values(void) |
@@ -335,7 +335,7 @@ static void __init export_htab_values(void) | |||
335 | static struct property crashk_base_prop = { | 335 | static struct property crashk_base_prop = { |
336 | .name = "linux,crashkernel-base", | 336 | .name = "linux,crashkernel-base", |
337 | .length = sizeof(unsigned long), | 337 | .length = sizeof(unsigned long), |
338 | .value = (unsigned char *)&crashk_res.start, | 338 | .value = &crashk_res.start, |
339 | }; | 339 | }; |
340 | 340 | ||
341 | static unsigned long crashk_size; | 341 | static unsigned long crashk_size; |
@@ -343,7 +343,7 @@ static unsigned long crashk_size; | |||
343 | static struct property crashk_size_prop = { | 343 | static struct property crashk_size_prop = { |
344 | .name = "linux,crashkernel-size", | 344 | .name = "linux,crashkernel-size", |
345 | .length = sizeof(unsigned long), | 345 | .length = sizeof(unsigned long), |
346 | .value = (unsigned char *)&crashk_size, | 346 | .value = &crashk_size, |
347 | }; | 347 | }; |
348 | 348 | ||
349 | static void __init export_crashk_values(void) | 349 | static void __init export_crashk_values(void) |