Re: [PATCH 16/51] x86, vsyscall: Fix CPU hotplug callback registration

2014-02-10 Thread Srivatsa S. Bhat
On 02/11/2014 12:20 AM, Gautham R Shenoy wrote: > Hi, > > On Thu, Feb 06, 2014 at 03:37:27AM +0530, Srivatsa S. Bhat wrote: >> @@ -393,9 +393,13 @@ static int __init vsyscall_init(void) >> { >> BUG_ON(VSYSCALL_ADDR(0) != __fix_to_virt(VSYSCALL_FIRST_PAGE)); >> >> +cpu_maps_update_begin()

Re: [PATCH 16/51] x86, vsyscall: Fix CPU hotplug callback registration

2014-02-10 Thread Gautham R Shenoy
Hi, On Thu, Feb 06, 2014 at 03:37:27AM +0530, Srivatsa S. Bhat wrote: > @@ -393,9 +393,13 @@ static int __init vsyscall_init(void) > { > BUG_ON(VSYSCALL_ADDR(0) != __fix_to_virt(VSYSCALL_FIRST_PAGE)); > > + cpu_maps_update_begin(); > + > on_each_cpu(cpu_vsyscall_init, NULL, 1); >