linux-mips
[Top] [All Lists]

Re: mm/huge_memory.c:221:7: error: incompatible types when assigning to

To: Fengguang Wu <fengguang.wu@intel.com>
Subject: Re: mm/huge_memory.c:221:7: error: incompatible types when assigning to type 'pmd_t' from type 'int'
From: Andrea Arcangeli <aarcange@redhat.com>
Date: Wed, 27 Mar 2013 15:02:07 +0100
Cc: Johannes Weiner <hannes@cmpxchg.org>, Andrew Morton <akpm@linux-foundation.org>, "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
In-reply-to: <20130327092631.GB13351@localhost>
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: <5152b651.JKLmvRYh1bEEyapp%fengguang.wu@intel.com> <20130327092631.GB13351@localhost>
Sender: linux-mips-bounce@linux-mips.org
Hi,

On Wed, Mar 27, 2013 at 05:26:31PM +0800, Fengguang Wu wrote:
> Hi Andrea,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
> head:   a12183c62717ac4579319189a00f5883a18dff08
> commit: 71e3aac0724ffe8918992d76acfe3aad7d8724a5 thp: transparent hugepage 
> core
> date:   2 years, 2 months ago
> config: make ARCH=mips allmodconfig
> 
> All error/warnings:
> 
>    mm/huge_memory.c:19:15: error: expected identifier or '(' before numeric 
> constant
>    mm/huge_memory.c: In function 'double_flag_show':
>    mm/huge_memory.c:28:24: error: lvalue required as unary '&' operand
>    mm/huge_memory.c:29:3: error: lvalue required as unary '&' operand
>    mm/huge_memory.c:31:32: error: lvalue required as unary '&' operand

It's certainly mips specific, TRANSPARENT_HUGEPAGE gets set but
there's likely some asm header screwup, maybe hidden by
setting/unsetting some other config option. Wondering if there's any
pending push that may be fixing this already. If you need I can build
the cross compiler and solve it but it's good idea to check if there's
a pending push somewhere (or in -mm) first.

Thanks,
Andrea

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