linux-mips
[Top] [All Lists]

Re: [PATCH -queue] MIPS: Simplify the weak annotation with __weak

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH -queue] MIPS: Simplify the weak annotation with __weak
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 27 Jan 2010 15:05:19 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <0dd2da661e29d1ba6ade77374c06a85011849b35.1264517876.git.wuzhangjin@gmail.com>
References: <8c337354c30ac911207df81abd13197c897b2380.1264517495.git.wuzhangjin@gmail.com> <0dd2da661e29d1ba6ade77374c06a85011849b35.1264517876.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Tue, Jan 26, 2010 at 11:02:34PM +0800, Wu Zhangjin wrote:

> There was a __weak define as __attribute__((weak)) there, this patch
> just use it to simplify the weak annotation.

Nice cleanup; I've made it bulletproof by including <linux/compiler.h>
which defines __weak.

Queued for 2.6.34.

  Ralf

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