Message ID | 1360496719.267074236@f380.i.mail.ru |
---|---|
State | Not Applicable |
Headers | show |
--- arch/powerpc/kernel/setup_64.c.old 2013-02-10 13:39:45.147131547 +0100 +++ arch/powerpc/kernel/setup_64.c 2013-02-10 13:40:51.697135419 +0100 @@ -186,6 +186,9 @@ initialise_paca(&boot_paca, 0); setup_paca(&boot_paca); + /* Allow percpu accesses to "work" until we setup percpu data */ + get_paca()->data_offset = 0; + /* Initialize lockdep early or else spinlocks will blow */ lockdep_init(); @@ -208,8 +211,6 @@ /* Fix up paca fields required for the boot cpu */ get_paca()->cpu_start = 1; - /* Allow percpu accesses to "work" until we setup percpu data */ - get_paca()->data_offset = 0; /* Probe the machine type */ probe_machine();