alloc_percpu: fix UP build
authorIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 13:36:45 +0000 (14:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 13:38:12 +0000 (14:38 +0100)
commitd2b0261506602bd969164879206027b30358ffdf
treee1acca60dfc21bc89f1bdceba3b58610eb8e23ee
parent0dcec8c27ba44cd11c6e68c46d5fd553818a3837
alloc_percpu: fix UP build

Impact: build fix

the !SMP branch had a 'gfp' leftover:

 include/linux/percpu.h: In function '__alloc_percpu':
 include/linux/percpu.h:160: error: 'gfp' undeclared (first use in this function)
 include/linux/percpu.h:160: error: (Each undeclared identifier is reported only once
 include/linux/percpu.h:160: error: for each function it appears in.)

Use GFP_KERNEL like the SMP version does.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/percpu.h