summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/s390_ext.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2007-07-27 12:29:15 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-07-27 12:29:18 +0200
commitcb1863a4619e5c80e43acad61b19cc5114b1c60d (patch)
tree49adf09f5f2606279605965ef384a32cee7ff77c /include/asm-s390/s390_ext.h
parent8059862c636778bc1872c89ae307eb6bccd35581 (diff)
downloadop-kernel-dev-cb1863a4619e5c80e43acad61b19cc5114b1c60d.zip
op-kernel-dev-cb1863a4619e5c80e43acad61b19cc5114b1c60d.tar.gz
[S390] add types.h include to s390_ext.h
The header file for external interrupts uses the _u16 type. Make sure that _u16 is defined by including linux/types.h. This prevents compile failures, if asm/s390_ext.h is the first include file. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/s390_ext.h')
-rw-r--r--include/asm-s390/s390_ext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/s390_ext.h b/include/asm-s390/s390_ext.h
index df9b101..1e72362 100644
--- a/include/asm-s390/s390_ext.h
+++ b/include/asm-s390/s390_ext.h
@@ -10,6 +10,8 @@
* Martin Schwidefsky (schwidefsky@de.ibm.com)
*/
+#include <linux/types.h>
+
typedef void (*ext_int_handler_t)(__u16 code);
/*
OpenPOWER on IntegriCloud