Re: mm/huge_memory.c:221:7: error: incompatible types when assigning to type 'pmd_t' from type 'int'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux