public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] "extern inline" to "static inline" allows compile
@ 2002-12-12 23:09 Matt Reppert
  2002-12-12 23:24 ` Richard Henderson
  2002-12-13  0:18 ` Rusty Russell
  0 siblings, 2 replies; 6+ messages in thread
From: Matt Reppert @ 2002-12-12 23:09 UTC (permalink / raw)
  To: rth; +Cc: trivial, linux-kernel

Hi,

I can't compile 2.5.51 on an EV56 without this. Tested, boots.
There are a bunch of symbols in core_cia.h that break the build if they're
extern inline because they're only defined in the header now. Make them
static inline instead. (Important, since they're #defined to things like
inb)

Comments?

Matt

diff -Nru a/include/asm-alpha/core_cia.h b/include/asm-alpha/core_cia.h
--- a/include/asm-alpha/core_cia.h	Thu Dec 12 16:59:06 2002
+++ b/include/asm-alpha/core_cia.h	Thu Dec 12 16:59:06 2002
@@ -293,7 +293,7 @@
 #ifdef __KERNEL__
 
 #ifndef __EXTERN_INLINE
-#define __EXTERN_INLINE extern inline
+#define __EXTERN_INLINE static inline
 #define __IO_EXTERN_INLINE
 #endif
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-13  9:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-12 23:09 [PATCH] "extern inline" to "static inline" allows compile Matt Reppert
2002-12-12 23:24 ` Richard Henderson
2002-12-12 23:44   ` Steffen Persvold
2002-12-12 23:52     ` Richard Henderson
2002-12-13  0:18 ` Rusty Russell
2002-12-13  9:24   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox