Re: [PATCH] x86_64 vsyscall fails to compile when CONFIG_HOTPLUG_CPU is disabled

Jiri Kosina
2006-11-24T18:04:17Z

On Fri, 24 Nov 2006, Andy Whitcroft wrote:

> The following change attempted to fix up the notifier structure
> when CONFIG_HOTPLUG_CPU is disabled:
> It seems to leave a reference to the cpu_vsyscall_notifier which is
> not declared unles CONFIG_HOTPLUG_CPU is defined, leading to the following
> compile time error:
> arch/x86_64/kernel/vsyscall.c:310: error: `cpu_vsyscall_notifier'
> undeclared (first use in this function)
> Make the hotcpu_notifier dependant on CONFIG_HOTPLUG_CPU.

Another fix is appropriate for -mm, please see this thread:
http://lkml.org/lkml/2006/11/23/121

--
Jiri Kosina