Skip to contentSkip to conversation

check_bugs() should be inline.

S390 Martin Schwidefsky 1 participant 1 message Mar 5, 2007

lore
Share & tools
lore
#0 lore raw

From: Heiko Carstens <[email protected]>

[S390] check_bugs() should be inline.

Don't have functions in header files unless they are inline.

---

 include/asm-s390/bugs.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
include/asm-s390/bugs.h +1 -1
diff -urpN linux-2.6/include/asm-s390/bugs.h linux-2.6-patched/include/asm-s390/bugs.h
@@ -16,7 +16,7 @@
  *      void check_bugs(void);
  */
 
-static void __init check_bugs(void)
+static inline void check_bugs(void)
 {
   /* s390 has no bugs ... */
 }