From: Ingo Molnar <mingo@elte.hu>
To: Sergio Monteiro Basto <sergio@sergiomb.no-ip.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: compile problems Re: 2.6.19-rc6-rt5
Date: Tue, 21 Nov 2006 08:54:00 +0100 [thread overview]
Message-ID: <20061121075400.GC24711@elte.hu> (raw)
In-Reply-To: <1164078473.3258.8.camel@monteirov>
* Sergio Monteiro Basto <sergio@sergiomb.no-ip.org> wrote:
> On Mon, 2006-11-20 at 23:02 +0100, Ingo Molnar wrote:
> > http://redhat.com/~mingo/realtime-preempt/patch-2.6.19-rc6-rt5
>
> if I don't put in .config
> CONFIG_HOTPLUG_CPU=y
>
> I got
> UPD include/linux/compile.h
> arch/x86_64/kernel/vsyscall.c: In function 'vsyscall_init':
> arch/x86_64/kernel/vsyscall.c:334: error: 'cpu_vsyscall_notifier' undeclared (first use in this function)
> arch/x86_64/kernel/vsyscall.c:334: error: (Each undeclared identifier is reported only once
this one should be fixed by the patch below.
Ingo
Index: linux/arch/x86_64/kernel/vsyscall.c
===================================================================
--- linux.orig/arch/x86_64/kernel/vsyscall.c
+++ linux/arch/x86_64/kernel/vsyscall.c
@@ -300,7 +300,6 @@ static void __cpuinit cpu_vsyscall_init(
vsyscall_set_cpu(raw_smp_processor_id());
}
-#ifdef CONFIG_HOTPLUG_CPU
static int __cpuinit
cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg)
{
@@ -309,7 +308,6 @@ cpu_vsyscall_notifier(struct notifier_bl
smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 0, 1);
return NOTIFY_DONE;
}
-#endif
static void __init map_vsyscall(void)
{
Index: linux/mm/page_alloc.c
===================================================================
--- linux.orig/mm/page_alloc.c
+++ linux/mm/page_alloc.c
@@ -2768,7 +2768,6 @@ void __init free_area_init(unsigned long
__pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL);
}
-#ifdef CONFIG_HOTPLUG_CPU
static int page_alloc_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)
{
@@ -2786,7 +2785,6 @@ static int page_alloc_cpu_notify(struct
}
return NOTIFY_OK;
}
-#endif /* CONFIG_HOTPLUG_CPU */
void __init page_alloc_init(void)
{
next prev parent reply other threads:[~2006-11-21 7:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 22:02 2.6.19-rc6-rt5 Ingo Molnar
2006-11-20 22:39 ` 2.6.19-rc6-rt5 Alistair John Strachan
2006-11-21 7:17 ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-20 23:18 ` 2.6.19-rc6-rt5 Alistair John Strachan
2006-11-21 7:20 ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-21 1:35 ` 2.6.19-rc6-rt5 Sergio Monteiro Basto
2006-11-21 8:04 ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-21 3:07 ` compile problems 2.6.19-rc6-rt5 Sergio Monteiro Basto
2006-11-21 7:43 ` Ingo Molnar
2006-11-21 7:54 ` Ingo Molnar [this message]
2006-11-22 11:37 ` 2.6.19-rc6-rt5 Robert Schwebel
2006-11-23 20:43 ` 2.6.19-rc6-rt5 Eduardo Valentin
2006-11-23 21:11 ` 2.6.19-rc6-rt5 Robert Schwebel
2006-11-22 14:06 ` 2.6.19-rc6-rt5 Mark Knecht
2006-11-28 17:33 ` 2.6.19-rc6-rt5 Lee Revell
2006-11-28 19:53 ` 2.6.19-rc6-rt5 Mark Knecht
2006-11-28 20:16 ` 2.6.19-rc6-rt5 Lee Revell
2006-11-28 20:15 ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-28 22:52 ` 2.6.19-rc6-rt5 Mark Knecht
2006-11-29 6:54 ` 2.6.19-rc6-rt5 Ingo Molnar
2006-11-26 14:39 ` 2.6.19-rc6-rt5 Karsten Wiese
2006-11-27 7:48 ` 2.6.19-rc6-rt5 Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061121075400.GC24711@elte.hu \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=sergio@sergiomb.no-ip.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.