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

From
Siddhesh Poyarekar <hidden>
Date
2012-03-07 16:43:45
Also in
lkml
Reply to
Siddhesh Poyarekar, 2012-03-06
On Wed, Mar 7, 2012 at 1:46 AM, Siddhesh Poyarekar
[off-list 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 [off-list 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
Thread (12 messages) 12 messages, 4 authors, last reply 2012-03-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help