Re: android lowmemorykiller breaks compile

From: David Rientjes
Date: Sun Jul 26 2009 - 19:34:12 EST


On Sun, 26 Jul 2009, Matthew D. Reuther wrote:

> I don't actually use Android, but I compile it just for giggles. With every one of the 2.6.31-rc releases, my compile breaks when it hits lowmemorykiller:
>
> drivers/staging/android/lowmemorykiller.c: In function 'lowmem_shrink':
> drivers/staging/android/lowmemorykiller.c:106: error: 'struct task_struct' has no member named 'oomkilladj'
> make[3]: *** [drivers/staging/android/lowmemorykiller.o] Error 1
> make[2]: *** [drivers/staging/android] Error 2
>
> Maybe this should not be selectable for x86? Can't tell.
>

It's had a fix pending in Greg KH's staging tree for a couple months,
we're just waiting for it to be pushed to Linus. Greg indicated he will
send it in his next staging pull.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/