summaryrefslogtreecommitdiff
path: root/include/asm-s390/atomic.h
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-04-11 09:53:51 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 17:18:39 +0400
commit5bd1db65ec3d21db6d34e96679c7443c18e135c5 (patch)
tree55340b198d28c574322deae47d9c99eac8e591e5 /include/asm-s390/atomic.h
parentb068b43ba4a2aa576f8c0db3dc59ba529d8a6cdd (diff)
downloadlinux-5bd1db65ec3d21db6d34e96679c7443c18e135c5.tar.xz
[PATCH] S390: fix implicit declaration of (un)likely.
include/asm/atomic.h:94: warning: implicit declaration of function 'unlikely' include/asm/atomic.h:97: warning: implicit declaration of function 'likely' Signed-off-by: Dave Jones <davej@redhat.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/atomic.h')
-rw-r--r--include/asm-s390/atomic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/atomic.h b/include/asm-s390/atomic.h
index de1d9926aa60..399bf02894dd 100644
--- a/include/asm-s390/atomic.h
+++ b/include/asm-s390/atomic.h
@@ -1,6 +1,8 @@
#ifndef __ARCH_S390_ATOMIC__
#define __ARCH_S390_ATOMIC__
+#include <linux/compiler.h>
+
/*
* include/asm-s390/atomic.h
*