aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2015-12-23 20:57:41 +0100
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-02-13 00:34:54 +0100
commitf116493a29e842e80a7e4a4393da63e298ef84f5 (patch)
treea16459b00d98f7af1f44ec240ddf7fc03fe30f2a
parent69feec2a1e9187a15d90be7b25d75dda2b7b639f (diff)
downloadrt-linux-f116493a29e842e80a7e4a4393da63e298ef84f5.tar.gz
hrtimer: enfore 64byte alignment
The patch "hrtimer: Fixup hrtimer callback changes for preempt-rt" adds a list_head expired to struct hrtimer_clock_base and with it we run into BUILD_BUG_ON(sizeof(struct hrtimer_clock_base) > HRTIMER_CLOCK_BASE_ALIGN); Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-rw-r--r--include/linux/hrtimer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index d2459e88a0ab5..c42395dce095d 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -125,11 +125,7 @@ struct hrtimer_sleeper {
struct task_struct *task;
};
-#ifdef CONFIG_64BIT
# define HRTIMER_CLOCK_BASE_ALIGN 64
-#else
-# define HRTIMER_CLOCK_BASE_ALIGN 32
-#endif
/**
* struct hrtimer_clock_base - the timer base for a specific clock