[lkml]   [2007]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 23/25 -v2] provide paravirt patching function
    This patch introduces apply_paravirt(), a function that shall
    be called by i386/alternative.c to apply replacements to
    paravirt_functions. It is defined to an do-nothing function
    if paravirt is not enabled.

    Signed-off-by: Glauber de Oliveira Costa <>
    Signed-off-by: Steven Rostedt <>
    include/asm-x86_64/alternative.h | 8 +++++---
    1 files changed, 5 insertions(+), 3 deletions(-)

    diff --git a/include/asm-x86_64/alternative.h b/include/asm-x86_64/alternative.h
    index ab161e8..e69a141 100644
    --- a/include/asm-x86_64/alternative.h
    +++ b/include/asm-x86_64/alternative.h
    @@ -143,12 +143,14 @@ static inline void alternatives_smp_switch(int smp) {}
    #define ASM_OUTPUT2(a, b) a, b

    -struct paravirt_patch;
    +struct paravirt_patch_site;
    -void apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end);
    +void apply_paravirt(struct paravirt_patch_site *start,
    + struct paravirt_patch_site *end);
    static inline void
    -apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end)
    +apply_paravirt(struct paravirt_patch_site *start,
    + struct paravirt_patch_site *end)
    #define __parainstructions NULL
    #define __parainstructions_end NULL
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-08-11 00:13    [W:0.019 / U:8.240 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site