|
@@ -294,19 +294,19 @@ static unsigned long htab_base, kernel_end;
|
|
|
static struct property htab_base_prop = {
|
|
|
.name = "linux,htab-base",
|
|
|
.length = sizeof(unsigned long),
|
|
|
- .value = (unsigned char *)&htab_base,
|
|
|
+ .value = &htab_base,
|
|
|
};
|
|
|
|
|
|
static struct property htab_size_prop = {
|
|
|
.name = "linux,htab-size",
|
|
|
.length = sizeof(unsigned long),
|
|
|
- .value = (unsigned char *)&htab_size_bytes,
|
|
|
+ .value = &htab_size_bytes,
|
|
|
};
|
|
|
|
|
|
static struct property kernel_end_prop = {
|
|
|
.name = "linux,kernel-end",
|
|
|
.length = sizeof(unsigned long),
|
|
|
- .value = (unsigned char *)&kernel_end,
|
|
|
+ .value = &kernel_end,
|
|
|
};
|
|
|
|
|
|
static void __init export_htab_values(void)
|
|
@@ -335,7 +335,7 @@ static void __init export_htab_values(void)
|
|
|
static struct property crashk_base_prop = {
|
|
|
.name = "linux,crashkernel-base",
|
|
|
.length = sizeof(unsigned long),
|
|
|
- .value = (unsigned char *)&crashk_res.start,
|
|
|
+ .value = &crashk_res.start,
|
|
|
};
|
|
|
|
|
|
static unsigned long crashk_size;
|
|
@@ -343,7 +343,7 @@ static unsigned long crashk_size;
|
|
|
static struct property crashk_size_prop = {
|
|
|
.name = "linux,crashkernel-size",
|
|
|
.length = sizeof(unsigned long),
|
|
|
- .value = (unsigned char *)&crashk_size,
|
|
|
+ .value = &crashk_size,
|
|
|
};
|
|
|
|
|
|
static void __init export_crashk_values(void)
|