aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/events/events_fifo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/xen/events/events_fifo.c b/drivers/xen/events/events_fifo.c
index c7ff2035b98e..48dcb2e97b90 100644
--- a/drivers/xen/events/events_fifo.c
+++ b/drivers/xen/events/events_fifo.c
@@ -67,10 +67,9 @@ static event_word_t *event_array[MAX_EVENT_ARRAY_PAGES] __read_mostly;
67static unsigned event_array_pages __read_mostly; 67static unsigned event_array_pages __read_mostly;
68 68
69/* 69/*
70 * sync_set_bit() and friends must be unsigned long aligned on non-x86 70 * sync_set_bit() and friends must be unsigned long aligned.
71 * platforms.
72 */ 71 */
73#if !defined(CONFIG_X86) && BITS_PER_LONG > 32 72#if BITS_PER_LONG > 32
74 73
75#define BM(w) (unsigned long *)((unsigned long)w & ~0x7UL) 74#define BM(w) (unsigned long *)((unsigned long)w & ~0x7UL)
76#define EVTCHN_FIFO_BIT(b, w) \ 75#define EVTCHN_FIFO_BIT(b, w) \