Hi all, Today's linux-next build (powerpc ppc64_defconfig) failed like this: include/linux/hrtimer.h:337: error: expected declaration specifiers or '...' before 'tick_cpu_device' include/linux/hrtimer.h:337: warning: 'struct tick_device' declared inside parameter list include/linux/hrtimer.h:337: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/hrtimer.h:337: warning: data definition has no type or storage class include/linux/hrtimer.h:337: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' Caused by commit 2e94d1f71f7e4404d997e6fb4f1618aa147d76f9 ("hrtimer: peek at the timer queue just before going idle") which added a DECLARE_PER_CPU() without adding the include of linux/percpu.h. I added the patch below. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/ From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Wed, 15 Oct 2008 14:20:28 +1100 Subject: [PATCH] DECLARE_PER_CPU needs linux/percpu.h Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- include/linux/hrtimer.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 179e3ea..1bde031 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -20,6 +20,7 @@ #include <linux/init.h> #include <linux/list.h> #include <linux/wait.h> +#include <linux/percpu.h> struct hrtimer_clock_base; struct hrtimer_cpu_base; -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html