[S390] check_bugs() should be inline.
From: Martin Schwidefsky
Date: Mon Mar 05 2007 - 17:42:28 EST
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
[S390] check_bugs() should be inline.
Don't have functions in header files unless they are inline.
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---
include/asm-s390/bugs.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urpN linux-2.6/include/asm-s390/bugs.h linux-2.6-patched/include/asm-s390/bugs.h
--- linux-2.6/include/asm-s390/bugs.h 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6-patched/include/asm-s390/bugs.h 2007-03-05 22:51:52.000000000 +0100
@@ -16,7 +16,7 @@
* void check_bugs(void);
*/
-static void __init check_bugs(void)
+static inline void check_bugs(void)
{
/* s390 has no bugs ... */
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/