NOMMU: support SMP dynamic percpu_alloc
authorGraf Yang <graf.yang@analog.com>
Mon, 28 Mar 2011 11:53:29 +0000 (12:53 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 28 Mar 2011 11:53:29 +0000 (12:53 +0100)
The percpu code requires more functions to be implemented in the mm core
which nommu currently does not provide.  So add inline implementations
since these are largely meaningless on nommu systems.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
include/linux/vmalloc.h

Simple merge