Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
arm64
/
kernel
/
smp_spin_table.c
diff --git
a/kernel/arch/arm64/kernel/smp_spin_table.c
b/kernel/arch/arm64/kernel/smp_spin_table.c
index
14944e5
..
aef3605
100644
(file)
--- a/
kernel/arch/arm64/kernel/smp_spin_table.c
+++ b/
kernel/arch/arm64/kernel/smp_spin_table.c
@@
-49,8
+49,14
@@
static void write_pen_release(u64 val)
}
}
-static int smp_spin_table_cpu_init(
struct device_node *dn,
unsigned int cpu)
+static int smp_spin_table_cpu_init(unsigned int cpu)
{
{
+ struct device_node *dn;
+
+ dn = of_get_cpu_node(cpu, NULL);
+ if (!dn)
+ return -ENODEV;
+
/*
* Determine the address from which the CPU is polling.
*/
/*
* Determine the address from which the CPU is polling.
*/