[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D21A141.1060801@monstr.eu>
Date: Mon, 03 Jan 2011 11:13:21 +0100
From: Michal Simek <monstr@...str.eu>
To: roel kluin <roel.kluin@...il.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] microblaze: correct PVR access macros
roel kluin wrote:
> A definition like:
>
> #define PVR_IS_FULL(pvr) (pvr.pvr[0] & PVR0_PVR_FULL_MASK)
>
> called with PVR_IS_FULL(foo) will be preprocessed to:
>
> (foo.foo[0] & PVR0_PVR_FULL_MASK)
> ^^^
> So to fix this and ensure the preprocessor compiles calls correctly:
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
> ---
> arch/microblaze/include/asm/pvr.h | 160 ++++++++++++++++++------------------
> 1 files changed, 80 insertions(+), 80 deletions(-)
>
> This was not compile tested.
Applied,
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists