Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d8dd8eec57254adac48e46c6d191cb24161d8b4d
Commit:     d8dd8eec57254adac48e46c6d191cb24161d8b4d
Parent:     9042219cd8d43b81322b826d463dd6e52acae6cf
Author:     Eduardo Habkost <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:33:20 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:33:20 2008 +0100

    x86: don't set pagetable_setup_{start,done} hooks on 64-bit
    
    paravirt_pagetable_setup_{start,done}() are not used (yet) under x86_64,
    and native_pagetable_setup_{start,done}() don't exist on x86_64. So they
    don't need to be set.
    
    Signed-off-by: Eduardo Habkost <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/kernel/paravirt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c
index c67d331..37f38b7 100644
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -367,8 +367,10 @@ struct pv_apic_ops pv_apic_ops = {
 };
 
 struct pv_mmu_ops pv_mmu_ops = {
+#ifndef CONFIG_X86_64
        .pagetable_setup_start = native_pagetable_setup_start,
        .pagetable_setup_done = native_pagetable_setup_done,
+#endif
 
        .read_cr2 = native_read_cr2,
        .write_cr2 = native_write_cr2,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to