path: root/arch/s390/include/asm/cpu_mf.h
diff options
authorLi Zefan <>2013-03-07 17:35:53 +0800
committerIngo Molnar <>2013-03-11 10:43:35 +0100
commitcb16b91a449afd01b85ec4e59f30449d11c4acd7 (patch)
tree614694aca044af054e2fe18f7017c6fbf0a8f703 /arch/s390/include/asm/cpu_mf.h
parent1abccd7419de9829bcdf9ab1f81d5f6cf74d55d3 (diff)
s390: Fix a header dependencies related build error
Commit 877c685607925238e302cd3aa38788dca6c1b226 ("perf: Remove include of cgroup.h from perf_event.h") caused this build failure if PERF_EVENTS is enabled: In file included from arch/s390/include/asm/perf_event.h:9:0, from include/linux/perf_event.h:24, from kernel/events/ring_buffer.c:12: arch/s390/include/asm/cpu_mf.h: In function 'qctri': arch/s390/include/asm/cpu_mf.h:61:12: error: 'EINVAL' undeclared (first use in this function) cpu_mf.h had an implicit errno.h dependency, which was added indirectly via cgroups.h but not anymore. Add it explicitly. Reported-by: Fengguang Wu <> Tested-by: Fengguang Wu <> Signed-off-by: Li Zefan <> Cc: Martin Schwidefsky <> Cc: Heiko Carstens <> Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'arch/s390/include/asm/cpu_mf.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/cpu_mf.h b/arch/s390/include/asm/cpu_mf.h
index 35f0020b7ba7..c7c9bf647c3e 100644
--- a/arch/s390/include/asm/cpu_mf.h
+++ b/arch/s390/include/asm/cpu_mf.h
@@ -12,6 +12,7 @@
#ifndef _ASM_S390_CPU_MF_H
#define _ASM_S390_CPU_MF_H
+#include <linux/errno.h>
#include <asm/facility.h>
#define CPU_MF_INT_SF_IAE (1 << 31) /* invalid entry address */