Subject: linux-next: sh build failure

From: Stephen Rothwell <[email-masked]>
Date: Fri, 20 Mar 2009 11:06:02 +1100

Hi Paul,

Yesterday's linux-next build of sh allmodconfig failed like this:

kernel/built-in.o: In function `disable_all_kprobes':
kernel/kprobes.c:1382: undefined reference to `text_mutex'
kernel/built-in.o: In function `__unregister_kprobe_top':
kernel/kprobes.c:773: undefined reference to `text_mutex'
kernel/built-in.o: In function `register_kprobe':
kernel/kprobes.c:724: undefined reference to `text_mutex'

Introduced by commit 4460fdad85becd569f11501ad5b91814814335ff ("tracing,
Text Edit Lock - kprobes architecture independent support") from the
tracing tree.  text_mutex is defined in mm/memory.c which is only built
if CONFIG_MMU is defined, which is not true for sh allmodconfig.
-- 
Cheers,
Stephen Rothwell                    [email-masked]
http://www.canb.auug.org.au/~sfr/