Skip to content

Commit

Permalink
[S390] irqflags: add missing types.h include
Browse files Browse the repository at this point in the history
Add missing types.h include. Otherwise would cause build breakages on
hw breakpoint support, because of undefined BITS_PER_LONG.
Also fix up the copyright line and remove the superfluous __KERNEL__
ifdef.

Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
heicarst authored and Martin Schwidefsky committed Jan 27, 2010
1 parent 294001a commit 428aecf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions arch/s390/include/asm/irqflags.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/*
* include/asm-s390/irqflags.h
*
* Copyright (C) IBM Corp. 2006
* Author(s): Heiko Carstens <[email protected]>
* Copyright IBM Corp. 2006,2010
* Author(s): Martin Schwidefsky <[email protected]>
*/

#ifndef __ASM_IRQFLAGS_H
#define __ASM_IRQFLAGS_H

#ifdef __KERNEL__
#include <linux/types.h>

#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)

Expand Down Expand Up @@ -102,5 +100,4 @@ static inline int raw_irqs_disabled_flags(unsigned long flags)
/* For spinlocks etc */
#define raw_local_irq_save(x) ((x) = raw_local_irq_disable())

#endif /* __KERNEL__ */
#endif /* __ASM_IRQFLAGS_H */

0 comments on commit 428aecf

Please sign in to comment.