diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-05-02 13:27:14 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:14 -0400 |
commit | 98de032b681d8a7532d44dfc66aa5c0c1c755a9d (patch) | |
tree | 7e36cf682a113354427ad1076b38d0c3d0aebd8c /include/asm-i386/alternative.h | |
parent | d6dd61c831226f9cd7750885da04d360d6455101 (diff) |
[PATCH] i386: PARAVIRT: rename struct paravirt_patch to paravirt_patch_site for clarity
Rename struct paravirt_patch to paravirt_patch_site, so that it
clearly refers to a callsite, and not the patch which may be applied
to that callsite.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Zachary Amsden <zach@vmware.com>
Diffstat (limited to 'include/asm-i386/alternative.h')
-rw-r--r-- | include/asm-i386/alternative.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-i386/alternative.h b/include/asm-i386/alternative.h index 4d518eebe461..5b59d07e9d29 100644 --- a/include/asm-i386/alternative.h +++ b/include/asm-i386/alternative.h | |||
@@ -115,12 +115,14 @@ static inline void alternatives_smp_switch(int smp) {} | |||
115 | #define LOCK_PREFIX "" | 115 | #define LOCK_PREFIX "" |
116 | #endif | 116 | #endif |
117 | 117 | ||
118 | struct paravirt_patch; | 118 | struct paravirt_patch_site; |
119 | #ifdef CONFIG_PARAVIRT | 119 | #ifdef CONFIG_PARAVIRT |
120 | void apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end); | 120 | void apply_paravirt(struct paravirt_patch_site *start, |
121 | struct paravirt_patch_site *end); | ||
121 | #else | 122 | #else |
122 | static inline void | 123 | static inline void |
123 | apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end) | 124 | apply_paravirt(struct paravirt_patch_site *start, |
125 | struct paravirt_patch_site *end) | ||
124 | {} | 126 | {} |
125 | #define __start_parainstructions NULL | 127 | #define __start_parainstructions NULL |
126 | #define __stop_parainstructions NULL | 128 | #define __stop_parainstructions NULL |