xen: events: mark cpu_evtchn_mask_p as __refdata
authorIan Campbell <ian.campbell@citrix.com>
Fri, 11 Feb 2011 15:23:56 +0000 (15:23 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 Feb 2011 19:46:25 +0000 (14:46 -0500)
This variable starts out pointing at init_evtchn_mask which is marked
__initdata but is set to point to a non-init data region in xen_init_IRQ
which is itself an __init function so this is safe.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Tested-and-acked-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c

index 74681478100ae2c20442df9b4d9d7eb8df9f12c1..a31389036b15a853a81a74591e28fa707fb90d4b 100644 (file)
@@ -114,7 +114,7 @@ struct cpu_evtchn_s {
 static __initdata struct cpu_evtchn_s init_evtchn_mask = {
        .bits[0 ... (NR_EVENT_CHANNELS/BITS_PER_LONG)-1] = ~0ul,
 };
-static struct cpu_evtchn_s *cpu_evtchn_mask_p = &init_evtchn_mask;
+static struct cpu_evtchn_s __refdata *cpu_evtchn_mask_p = &init_evtchn_mask;
 
 static inline unsigned long *cpu_evtchn_mask(int cpu)
 {
This page took 0.024924 seconds and 5 git commands to generate.