[kvm-unit-tests,1/2] s390x: Add missing include in smp.h
diff mbox series

Message ID 20190925135623.9740-2-frankja@linux.ibm.com
State New
Headers show
Series
  • s390x: Quick fixes
Related show

Commit Message

Janosch Frank Sept. 25, 2019, 1:56 p.m. UTC
smp.h uses struct lowcore and struct psw, which are defined in
asm/arch_def.h

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
---
 lib/s390x/smp.h | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/lib/s390x/smp.h b/lib/s390x/smp.h
index 4476c31..ce63a89 100644
--- a/lib/s390x/smp.h
+++ b/lib/s390x/smp.h
@@ -12,6 +12,8 @@ 
 #ifndef SMP_H
 #define SMP_H
 
+#include <asm/arch_def.h>
+
 struct cpu {
 	struct lowcore *lowcore;
 	uint64_t *stack;