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)
commitb554cb426a955a267dba524f98f99e29bc947643
tree525676c9164059fb4f03bab86c3b0cb9c6f21d32
parenteac522ef438f8ea173569fd0469371bc5d317947
NOMMU: support SMP dynamic percpu_alloc

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