sparc64: Fix UP bootup regression.
authorDavid S. Miller <davem@davemloft.net>
Thu, 18 Jun 2009 08:44:19 +0000 (01:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2009 06:50:41 +0000 (23:50 -0700)
commitb99c6ebe8f53dce1f56f0d483f6a7c23edb19d4c
treeb627f81db133b9463ac206e4e8327ee530ba0b81
parentaaa7e2f74f11b5f7e30483807b896d7b3369586f
sparc64: Fix UP bootup regression.

Commit b696fdc259f0d94348a9327bed352fac44d4883d ("sparc64: Defer
cpu_data() setup until end of per-cpu data initialization.") broke
bootup for UP builds because the cpu_data() initialization only
occurs in setup_per_cpu_areas() which is never compiled in nor
called in UP builds.

Fix this up by calling the setups directly from init_64.c when
non-SMP.

Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Tested-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/init_64.c