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

From: Jiri Kosina
Date: Fri Nov 24 2006 - 13:04:34 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/