xen-devel
[Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flu
To: |
Ingo Molnar <mingo@xxxxxxx> |
Subject: |
[Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix |
From: |
Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> |
Date: |
Mon, 11 May 2009 16:00:41 +0100 |
Cc: |
Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>, Jeremy, "linux-tip-commits@xxxxxxxxxxxxxxx" <linux-tip-commits@xxxxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, "mingo@xxxxxxxxxx" <mingo@xxxxxxxxxx>, "hpa@xxxxxxxxx" <hpa@xxxxxxxxx>, "tglx@xxxxxxxxxxxxx" <tglx@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Mon, 11 May 2009 08:01:15 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20090511131230.GA32693@xxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Organization: |
Citrix Systems, Inc. |
References: |
<1241797927.15972.51.camel@xxxxxxxxxxxxxxxxxxxxxx> <tip-636afdbe85d50d9b88f5283b5e6d0f8518431aac@xxxxxxxxxxxxxx> <20090511131230.GA32693@xxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Mon, 2009-05-11 at 09:12 -0400, Ingo Molnar wrote:
> which then does:
>
> init/main.c:728: error: implicit declaration of function ‘init_smp_flush’
Er, yeah, that change is pretty bogus for !x86 (I guess you were
compiling for some other $ARCH?)
You could either take the original patch which made it an early initcall
instead (http://marc.info/?l=linux-kernel&m=124179652227660&w=2) or we
could move it much earlier into setup arch, as per:
Subject: Call init_smp_flush() from arch code
init_smp_flush() is x86 specific so call it from arch code rather than
generic code.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 1b1c851..aade391 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -985,6 +985,8 @@ void __init setup_arch(char **cmdline_p)
e820_setup_gap();
+ init_smp_flush();
+
#ifdef CONFIG_VT
#if defined(CONFIG_VGA_CONSOLE)
if (!efi_enabled || (efi_mem_type(0xa0000) != EFI_CONVENTIONAL_MEMORY))
diff --git a/init/main.c b/init/main.c
index f798501..33ce929 100644
--- a/init/main.c
+++ b/init/main.c
@@ -651,7 +651,6 @@ asmlinkage void __init start_kernel(void)
vfs_caches_init_early();
cpuset_init_early();
page_cgroup_init();
- init_smp_flush();
mem_init();
enable_debug_pagealloc();
cpu_hotplug_init();
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [GIT PULL] Xen core updates, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 1/8] xen/x86-64: fix breakpoints and hardware watchpoints, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 3/8] xen: cache cr0 value to avoid trap'n'emulate for read_cr0, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 2/8] xen/x86-64: clean up warnings about IST-using traps, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Ian Campbell
- [Xen-devel] Re: [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 6/8] x86: use flush_tlb_others to implement flush_tlb_all, Ian Campbell
- [Xen-devel] [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, tip-bot for Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix,
Ian Campbell <=
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ian Campbell
- [Xen-devel] Re: [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, Ingo Molnar
- [Xen-devel] [tip:x86/xen] x86: use flush_tlb_others to implement flush_tlb_all, fix, tip-bot for Ian Campbell
[Xen-devel] [PATCH 4/8] xen: deal with NMI's use of IST too, Jeremy Fitzhardinge
[Xen-devel] [PATCH 5/8] xen/i386: make sure initial VGA/ISA mappings are not overridden, Jeremy Fitzhardinge
|
|
|