Skip to content

Commit

Permalink
[S390] add types.h include to s390_ext.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Jul 27, 2007
1 parent 8059862 commit cb1863a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-s390/s390_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* Martin Schwidefsky (schwidefsky@de.ibm.com)
*/

#include <linux/types.h>

typedef void (*ext_int_handler_t)(__u16 code);

/*
Expand Down

0 comments on commit cb1863a

Please sign in to comment.