mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Reppert <arashi@arashi.yi.org>
To: rth@twiddle.net
Cc: trivial@rustcorp.com.au, linux-kernel@vger.kernel.org
Subject: [PATCH] "extern inline" to "static inline" allows compile
Date: Thu, 12 Dec 2002 17:09:02 -0600	[thread overview]
Message-ID: <20021212170902.34e344b1.arashi@arashi.yi.org> (raw)

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
 

             reply	other threads:[~2002-12-12 22:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 23:09 Matt Reppert [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021212170902.34e344b1.arashi@arashi.yi.org \
    --to=arashi@arashi.yi.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®