linux-mips
[Top] [All Lists]

Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static

To: Adrian Bunk <bunk@stusta.de>
Subject: Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 9 Jul 2007 11:27:55 +0100
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <20070707010330.GY3492@stusta.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070707010330.GY3492@stusta.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Sat, Jul 07, 2007 at 03:03:30AM +0200, Adrian Bunk wrote:

> "extern inline" will have different semantics with gcc 4.3,
> and "static inline" is correct here.

The idea was to have a linker error in case gcc should deciede for some
reason not to inline this function which as I understand will continue
to be the behaviour of gcc 4.3?

  Ralf

<Prev in Thread] Current Thread [Next in Thread>