git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: shmobile: rcar-gen2: Reserve boot area when SMP is enabled
[sfrench/cifs-2.6.git]
/
arch
/
arm
/
mach-shmobile
/
pm-rcar-gen2.c
diff --git
a/arch/arm/mach-shmobile/pm-rcar-gen2.c
b/arch/arm/mach-shmobile/pm-rcar-gen2.c
index 7447e5fd7ed41e99d38d689079d17e1018a7ffb3..907a4f8c5aedeeae4531514adab831c166f202a0 100644
(file)
--- a/
arch/arm/mach-shmobile/pm-rcar-gen2.c
+++ b/
arch/arm/mach-shmobile/pm-rcar-gen2.c
@@
-52,6
+52,11
@@
void __init rcar_gen2_pm_init(void)
struct resource res;
int error;
+ if (!request_mem_region(0, SZ_256K, "Boot Area")) {
+ pr_err("Failed to request boot area\n");
+ return;
+ }
+
for_each_of_cpu_node(np) {
if (of_device_is_compatible(np, "arm,cortex-a15"))
has_a15 = true;