Skip to contentSkip to conversation

find_pernode_space() UP compile error

DISCUSSION dann frazier 1 participant 1 message Mar 9, 2005

lore
Share & tools
lore
#0 lore raw

A generic 2.6.11 w/ CONFIG_SMP=n:

arch/ia64/mm/discontig.c: In function `find_pernode_space':
arch/ia64/mm/discontig.c:370: error: `__per_cpu_offset' undeclared (first use in this function)
arch/ia64/mm/discontig.c:370: error: (Each undeclared identifier is reported only once
arch/ia64/mm/discontig.c:370: error: for each function it appears in.)

I don't know how much of this function is a no-op on UP systems; though discontig.c compiles w/ an #ifdef CONFIG_SMP around the __per_cpu_offset assignment.

Signature · 1 line
dann frazier <[email protected]>