linux-mips
[Top] [All Lists]

Re: [PATCH v2 02/18] KVM/MIPS32: Arch specific KVM data structures.

To: Gleb Natapov <gleb@redhat.com>
Subject: Re: [PATCH v2 02/18] KVM/MIPS32: Arch specific KVM data structures.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 24 Jan 2013 14:22:06 +0100
Cc: Sanjay Lal <sanjayl@kymasys.com>, kvm@vger.kernel.org, linux-mips@linux-mips.org
In-reply-to: <20121226131445.GH17584@redhat.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1353551656-23579-1-git-send-email-sanjayl@kymasys.com> <1353551656-23579-3-git-send-email-sanjayl@kymasys.com> <20121226131445.GH17584@redhat.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Dec 26, 2012 at 03:14:45PM +0200, Gleb Natapov wrote:

> On Wed, Nov 21, 2012 at 06:34:00PM -0800, Sanjay Lal wrote:
> > +
> > +#ifndef __unused
> > +#define __unused __attribute__((unused))
> > +#endif
> > +
> There are __maybe_unused and __always_unused, no need to define your
> own.

Also the symbol __unused is a member of struct compat_flock in
<asm/compat.h> which is going to bite on 64 bit.

  Ralf

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