projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb78e58
)
xen/spinlock: Don't use __initdate for xen_pv_spin
author
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Mon, 9 Sep 2013 17:08:49 +0000
(13:08 -0400)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Mon, 9 Sep 2013 17:08:49 +0000
(13:08 -0400)
As we get compile warnings about .init.data being
used by non-init functions.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/spinlock.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/spinlock.c
b/arch/x86/xen/spinlock.c
index b3c1ee8f09935e61de7c59e61e192cfa9fc95e44..253f63fceea104978c6e5d1f54ba81e1e3581b20 100644
(file)
--- a/
arch/x86/xen/spinlock.c
+++ b/
arch/x86/xen/spinlock.c
@@
-105,7
+105,7
@@
static DEFINE_PER_CPU(char *, irq_name);
static DEFINE_PER_CPU(struct xen_lock_waiting, lock_waiting);
static cpumask_t waiting_cpus;
-static bool xen_pvspin
__initdata
= true;
+static bool xen_pvspin = true;
static void xen_lock_spinning(struct arch_spinlock *lock, __ticket_t want)
{
int irq = __this_cpu_read(lock_kicker_irq);