summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-04-11 07:53:51 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 15:18:39 +0200
commit5bd1db65ec3d21db6d34e96679c7443c18e135c5 (patch)
tree55340b198d28c574322deae47d9c99eac8e591e5
parent[PATCH] arch/s390/Makefile: remove -finline-limit=10000 (diff)
downloadlinux-5bd1db65ec3d21db6d34e96679c7443c18e135c5.tar.xz
linux-5bd1db65ec3d21db6d34e96679c7443c18e135c5.zip
[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>
-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
*