diff options
Diffstat (limited to 'include/asm-i386/paravirt.h')
-rw-r--r-- | include/asm-i386/paravirt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h index 081194751ade..dd707d8c8270 100644 --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h | |||
@@ -120,6 +120,11 @@ struct paravirt_ops | |||
120 | void (fastcall *iret)(void); | 120 | void (fastcall *iret)(void); |
121 | }; | 121 | }; |
122 | 122 | ||
123 | /* Mark a paravirt probe function. */ | ||
124 | #define paravirt_probe(fn) \ | ||
125 | static asmlinkage void (*__paravirtprobe_##fn)(void) __attribute_used__ \ | ||
126 | __attribute__((__section__(".paravirtprobe"))) = fn | ||
127 | |||
123 | extern struct paravirt_ops paravirt_ops; | 128 | extern struct paravirt_ops paravirt_ops; |
124 | 129 | ||
125 | #define paravirt_enabled() (paravirt_ops.paravirt_enabled) | 130 | #define paravirt_enabled() (paravirt_ops.paravirt_enabled) |