From: Sebastian Andrzej Siewior Date: Thu, 11 Oct 2018 16:39:59 +0200 Subject: [PATCH 017/353] percpu: include irqflags.h for raw_local_irq_save() Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fb2ad05fbeed482adb367eac354f01a14ce422c2 The header percpu.h header file is using raw_local_irq_save() but does not include irqflags.h for its definition. It compiles because the header file is included via an other header file. On -RT the build fails because raw_local_irq_save() is not defined. Include irqflags.h in percpu.h. Signed-off-by: Sebastian Andrzej Siewior --- include/asm-generic/percpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/asm-generic/percpu.h b/include/asm-generic/percpu.h index 1817a8415a5e..942d64c0476e 100644 --- a/include/asm-generic/percpu.h +++ b/include/asm-generic/percpu.h @@ -5,6 +5,7 @@ #include #include #include +#include #ifdef CONFIG_SMP