Re: [PATCH 1/2] mm: Fix task_nommu build regression in linux-next

From: Siddhesh Poyarekar
Date: Wed Mar 07 2012 - 11:44:17 EST


On Wed, Mar 7, 2012 at 1:46 AM, Siddhesh Poyarekar
<siddhesh.poyarekar@xxxxxxxxx> wrote:
> Commit b7b2a0afacada237005068294cb0ccc49d32889e resulted in a build
> failure for nommu builds:
>
> fs/built-in.o: In function `nommu_vma_show':
> task_nommu.c:(.text+0x564a0): undefined reference to `vm_is_stack'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> Fix is to provide definitions of vm_is_stack() and
> vm_is_stack_for_task() for nommu as well. This patch also adds an
> explicit include of sched.h based on observations and patch submission
> by Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>:
>
> https://lkml.org/lkml/2012/3/5/326
>
> Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@xxxxxxxxx>

Tested-by: Mark Salter <msalter@xxxxxxxxxx>

for c6x (nommu).

--
Siddhesh Poyarekar
http://siddhesh.in
--
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/