diff options
author | Ingo Molnar <[email protected]> | 2009-03-20 11:05:04 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-20 11:09:27 +0100 |
commit | 505f2b970b2269ce4cb669b3ff4f6479d379cec2 (patch) | |
tree | 741b9ed4752d852eb8b01dd4b4be765c9f37015e /net/lapb/lapb_iface.c | |
parent | 22de89b371a18086162eacd9f8c960299334ab01 (diff) |
tracing, Text Edit Lock - kprobes architecture independent support, nommu fix
Impact: build fix on SH !CONFIG_MMU
Stephen Rothwell reported this linux-next build failure on the SH
architecture:
kernel/built-in.o: In function `disable_all_kprobes':
kernel/kprobes.c:1382: undefined reference to `text_mutex'
[...]
And observed:
| 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.
Move this lock to kernel/extable.c (which is already home to various
kernel text related routines), which file is always built-in.
Reported-by: Stephen Rothwell <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions