linux/mm
Ingo Molnar 505f2b970b 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 4460fdad85 ("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 <sfr@canb.auug.org.au>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
LKML-Reference: <20090320110602.86351a91.sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-20 11:09:27 +01:00
..
Kconfig
Makefile percpu: implement new dynamic percpu allocator 2009-02-20 16:29:08 +09:00
allocpercpu.c percpu: kill percpu_alloc() and friends 2009-02-20 16:29:08 +09:00
backing-dev.c
bootmem.c bootmem, x86: further fixes for arch-specific bootmem wrapping 2009-03-01 16:06:56 +09:00
bounce.c
dmapool.c
fadvise.c
failslab.c
filemap.c x86, mm: dont use non-temporal stores in pagecache accesses 2009-03-02 11:06:49 +01:00
filemap_xip.c x86, mm: dont use non-temporal stores in pagecache accesses 2009-03-02 11:06:49 +01:00
fremap.c
highmem.c
hugetlb.c
internal.h
maccess.c
madvise.c
memcontrol.c
memory.c tracing, Text Edit Lock - kprobes architecture independent support, nommu fix 2009-03-20 11:09:27 +01:00
memory_hotplug.c
mempolicy.c
mempool.c
migrate.c
mincore.c
mlock.c Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-02-17 14:27:39 -08:00
mm_init.c
mmap.c
mmu_notifier.c
mmzone.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c
page-writeback.c mm: task dirty accounting fix 2009-02-18 15:37:54 -08:00
page_alloc.c Merge commit 'v2.6.29-rc7' into core/locking 2009-03-05 11:45:22 +01:00
page_cgroup.c
page_io.c block: fix bad definition of BIO_RW_SYNC 2009-02-18 10:32:00 +01:00
page_isolation.c
pagewalk.c
pdflush.c
percpu.c percpu: finer grained locking to break deadlock and allow atomic free 2009-03-07 14:46:35 +09:00
prio_tree.c
quicklist.c
readahead.c
rmap.c
shmem.c shmem: fix shared anonymous accounting 2009-02-25 12:21:42 -08:00
shmem_acl.c
slab.c Merge commit 'v2.6.29-rc7' into core/locking 2009-03-05 11:45:22 +01:00
slob.c Merge commit 'v2.6.29-rc7' into core/locking 2009-03-05 11:45:22 +01:00
slub.c Merge commit 'v2.6.29-rc7' into core/locking 2009-03-05 11:45:22 +01:00
sparse-vmemmap.c
sparse.c
swap.c
swap_state.c
swapfile.c PM/hibernate: fix "swap breaks after hibernation failures" 2009-02-21 14:17:17 -08:00
thrash.c
truncate.c
util.c slab: introduce kzfree() 2009-02-20 17:57:48 -08:00
vmalloc.c Merge branch 'x86/core' into core/percpu 2009-03-04 02:29:19 +01:00
vmscan.c Merge branches 'tracing/ftrace', 'tracing/syscalls' and 'linus' into tracing/core 2009-03-16 09:12:42 +01:00
vmstat.c