# Re: \[PATCH 1/2\] mm: Fix task\_nommu build regression in linux-next

- From: Siddhesh Poyarekar \<hidden\>
- Date: 2012-03-07 16:43:45 
- List: linux-next
- Page: https://ratatoskr.run/linux-next/2012/03/3831982
- Thread: https://ratatoskr.run/linux-next/2012/03/3831344/t.md

```text
On Wed, Mar 7, 2012 at 1:46 AM, Siddhesh Poyarekar
[ref] 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 [ref]:
>
> https://lkml.org/lkml/2012/3/5/326
>
> Signed-off-by: Siddhesh Poyarekar <redacted>

Tested-by: Mark Salter <redacted>

for c6x (nommu).

-- 
Siddhesh Poyarekar
http://siddhesh.in
```
