]> git.baikalelectronics.ru Git - kernel.git/commit
smaps: only define clear_refs for CONFIG_MMU
authorDavid Rientjes <rientjes@google.com>
Wed, 9 May 2007 03:27:01 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 03:41:14 +0000 (20:41 -0700)
commite770c078501d8ab33ad440e38984686665f9e6e9
treedee4cbe41aee3570b9a129a4c87dcf8ea09f8112
parent32f077698f0d4c5de4756a0e5c8584d62e654e2a
smaps: only define clear_refs for CONFIG_MMU

/proc/pid/clear_refs is only defined in the CONFIG_MMU case, so make sure we
don't have any references to clear_refs_smap() in generic procfs code.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c