Re: nommu build failure in linux-next

From: Siddhesh Poyarekar
Date: Tue Mar 06 2012 - 10:19:58 EST


On Tue, Mar 6, 2012 at 8:19 PM, Mark Salter <msalter@xxxxxxxxxx> wrote:
> commit b7b2a0afacada237005068294cb0ccc49d32889e
> Author: Siddhesh Poyarekar <siddhesh.poyarekar@xxxxxxxxx>
> Date:   Tue Mar 6 11:17:12 2012 +1100
>
>    procfs: mark thread stack correctly in proc/<pid>/maps
>
>
> This patch still breaks nommu builds. The previous syntax issue has been
> resolved, but now I see a link error:
>
> 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
>

The function is defined in mm/memory.c and I realized now that it is
not built when !CONFIG_MMU. There needs to be a copy of these
functions in nommu.c as well. I'll test the build and send a patch.


--
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/