Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5f3f7cc6ad3b548ba5f61051426df28f79fc0ee8
Commit:     5f3f7cc6ad3b548ba5f61051426df28f79fc0ee8
Parent:     41089644c110756a6d09ace77c8d7624660d086a
Author:     Andi Kleen <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 22 13:21:41 2007 +0200
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sun Jul 22 11:17:17 2007 -0700

    x86_64: Fix paravirt compilation
    
    Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/i386/kernel/paravirt.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/paravirt.c b/arch/i386/kernel/paravirt.c
index 79c167f..ea962c0 100644
--- a/arch/i386/kernel/paravirt.c
+++ b/arch/i386/kernel/paravirt.c
@@ -154,13 +154,14 @@ unsigned paravirt_patch_jmp(void *target, void *site, 
unsigned len)
 {
        unsigned char *jmp = site;
        unsigned long delta = (unsigned long)target - (unsigned long)(jmp+5);
+       struct branch b;
 
        if (len < 5)
                return len;     /* call too long for patch site */
 
        b.opcode = 0xe9;        /* jmp */
        b.delta = delta;
-       text_poke(call, (unsigned char *)&b, 5);
+       text_poke(jmp, (unsigned char *)&b, 5);
 
        return 5;
 }
-
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