paravirt.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. #ifndef __ASM_PARAVIRT_H
  2. #define __ASM_PARAVIRT_H
  3. /* Various instructions on x86 need to be replaced for
  4. * para-virtualization: those hooks are defined here. */
  5. #include <linux/linkage.h>
  6. #include <linux/stringify.h>
  7. #include <asm/page.h>
  8. #ifdef CONFIG_PARAVIRT
  9. /* These are the most performance critical ops, so we want to be able to patch
  10. * callers */
  11. #define PARAVIRT_IRQ_DISABLE 0
  12. #define PARAVIRT_IRQ_ENABLE 1
  13. #define PARAVIRT_RESTORE_FLAGS 2
  14. #define PARAVIRT_SAVE_FLAGS 3
  15. #define PARAVIRT_SAVE_FLAGS_IRQ_DISABLE 4
  16. #define PARAVIRT_INTERRUPT_RETURN 5
  17. #define PARAVIRT_STI_SYSEXIT 6
  18. /* Bitmask of what can be clobbered: usually at least eax. */
  19. #define CLBR_NONE 0x0
  20. #define CLBR_EAX 0x1
  21. #define CLBR_ECX 0x2
  22. #define CLBR_EDX 0x4
  23. #define CLBR_ANY 0x7
  24. #ifndef __ASSEMBLY__
  25. struct thread_struct;
  26. struct Xgt_desc_struct;
  27. struct tss_struct;
  28. struct mm_struct;
  29. struct paravirt_ops
  30. {
  31. unsigned int kernel_rpl;
  32. int paravirt_enabled;
  33. const char *name;
  34. /*
  35. * Patch may replace one of the defined code sequences with arbitrary
  36. * code, subject to the same register constraints. This generally
  37. * means the code is not free to clobber any registers other than EAX.
  38. * The patch function should return the number of bytes of code
  39. * generated, as we nop pad the rest in generic code.
  40. */
  41. unsigned (*patch)(u8 type, u16 clobber, void *firstinsn, unsigned len);
  42. void (*arch_setup)(void);
  43. char *(*memory_setup)(void);
  44. void (*init_IRQ)(void);
  45. void (*banner)(void);
  46. unsigned long (*get_wallclock)(void);
  47. int (*set_wallclock)(unsigned long);
  48. void (*time_init)(void);
  49. /* All the function pointers here are declared as "fastcall"
  50. so that we get a specific register-based calling
  51. convention. This makes it easier to implement inline
  52. assembler replacements. */
  53. void (*cpuid)(unsigned int *eax, unsigned int *ebx,
  54. unsigned int *ecx, unsigned int *edx);
  55. unsigned long (*get_debugreg)(int regno);
  56. void (*set_debugreg)(int regno, unsigned long value);
  57. void (*clts)(void);
  58. unsigned long (*read_cr0)(void);
  59. void (*write_cr0)(unsigned long);
  60. unsigned long (*read_cr2)(void);
  61. void (*write_cr2)(unsigned long);
  62. unsigned long (*read_cr3)(void);
  63. void (*write_cr3)(unsigned long);
  64. unsigned long (*read_cr4_safe)(void);
  65. unsigned long (*read_cr4)(void);
  66. void (*write_cr4)(unsigned long);
  67. unsigned long (*save_fl)(void);
  68. void (*restore_fl)(unsigned long);
  69. void (*irq_disable)(void);
  70. void (*irq_enable)(void);
  71. void (*safe_halt)(void);
  72. void (*halt)(void);
  73. void (*wbinvd)(void);
  74. /* err = 0/-EFAULT. wrmsr returns 0/-EFAULT. */
  75. u64 (*read_msr)(unsigned int msr, int *err);
  76. int (*write_msr)(unsigned int msr, u64 val);
  77. u64 (*read_tsc)(void);
  78. u64 (*read_pmc)(void);
  79. void (*load_tr_desc)(void);
  80. void (*load_gdt)(const struct Xgt_desc_struct *);
  81. void (*load_idt)(const struct Xgt_desc_struct *);
  82. void (*store_gdt)(struct Xgt_desc_struct *);
  83. void (*store_idt)(struct Xgt_desc_struct *);
  84. void (*set_ldt)(const void *desc, unsigned entries);
  85. unsigned long (*store_tr)(void);
  86. void (*load_tls)(struct thread_struct *t, unsigned int cpu);
  87. void (*write_ldt_entry)(void *dt, int entrynum,
  88. u32 low, u32 high);
  89. void (*write_gdt_entry)(void *dt, int entrynum,
  90. u32 low, u32 high);
  91. void (*write_idt_entry)(void *dt, int entrynum,
  92. u32 low, u32 high);
  93. void (*load_esp0)(struct tss_struct *tss,
  94. struct thread_struct *thread);
  95. void (*set_iopl_mask)(unsigned mask);
  96. void (*io_delay)(void);
  97. void (*const_udelay)(unsigned long loops);
  98. #ifdef CONFIG_X86_LOCAL_APIC
  99. void (*apic_write)(unsigned long reg, unsigned long v);
  100. void (*apic_write_atomic)(unsigned long reg, unsigned long v);
  101. unsigned long (*apic_read)(unsigned long reg);
  102. void (*setup_boot_clock)(void);
  103. void (*setup_secondary_clock)(void);
  104. #endif
  105. void (*flush_tlb_user)(void);
  106. void (*flush_tlb_kernel)(void);
  107. void (*flush_tlb_single)(u32 addr);
  108. void (*alloc_pt)(u32 pfn);
  109. void (*alloc_pd)(u32 pfn);
  110. void (*alloc_pd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count);
  111. void (*release_pt)(u32 pfn);
  112. void (*release_pd)(u32 pfn);
  113. void (*set_pte)(pte_t *ptep, pte_t pteval);
  114. void (*set_pte_at)(struct mm_struct *mm, u32 addr, pte_t *ptep, pte_t pteval);
  115. void (*set_pmd)(pmd_t *pmdp, pmd_t pmdval);
  116. void (*pte_update)(struct mm_struct *mm, u32 addr, pte_t *ptep);
  117. void (*pte_update_defer)(struct mm_struct *mm, u32 addr, pte_t *ptep);
  118. #ifdef CONFIG_X86_PAE
  119. void (*set_pte_atomic)(pte_t *ptep, pte_t pteval);
  120. void (*set_pte_present)(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte);
  121. void (*set_pud)(pud_t *pudp, pud_t pudval);
  122. void (*pte_clear)(struct mm_struct *mm, unsigned long addr, pte_t *ptep);
  123. void (*pmd_clear)(pmd_t *pmdp);
  124. #endif
  125. void (*set_lazy_mode)(int mode);
  126. /* These two are jmp to, not actually called. */
  127. void (*irq_enable_sysexit)(void);
  128. void (*iret)(void);
  129. void (*startup_ipi_hook)(int phys_apicid, unsigned long start_eip, unsigned long start_esp);
  130. };
  131. /* Mark a paravirt probe function. */
  132. #define paravirt_probe(fn) \
  133. static asmlinkage void (*__paravirtprobe_##fn)(void) __attribute_used__ \
  134. __attribute__((__section__(".paravirtprobe"))) = fn
  135. extern struct paravirt_ops paravirt_ops;
  136. #define paravirt_enabled() (paravirt_ops.paravirt_enabled)
  137. static inline void load_esp0(struct tss_struct *tss,
  138. struct thread_struct *thread)
  139. {
  140. paravirt_ops.load_esp0(tss, thread);
  141. }
  142. #define ARCH_SETUP paravirt_ops.arch_setup();
  143. static inline unsigned long get_wallclock(void)
  144. {
  145. return paravirt_ops.get_wallclock();
  146. }
  147. static inline int set_wallclock(unsigned long nowtime)
  148. {
  149. return paravirt_ops.set_wallclock(nowtime);
  150. }
  151. static inline void do_time_init(void)
  152. {
  153. return paravirt_ops.time_init();
  154. }
  155. /* The paravirtualized CPUID instruction. */
  156. static inline void __cpuid(unsigned int *eax, unsigned int *ebx,
  157. unsigned int *ecx, unsigned int *edx)
  158. {
  159. paravirt_ops.cpuid(eax, ebx, ecx, edx);
  160. }
  161. /*
  162. * These special macros can be used to get or set a debugging register
  163. */
  164. #define get_debugreg(var, reg) var = paravirt_ops.get_debugreg(reg)
  165. #define set_debugreg(val, reg) paravirt_ops.set_debugreg(reg, val)
  166. #define clts() paravirt_ops.clts()
  167. #define read_cr0() paravirt_ops.read_cr0()
  168. #define write_cr0(x) paravirt_ops.write_cr0(x)
  169. #define read_cr2() paravirt_ops.read_cr2()
  170. #define write_cr2(x) paravirt_ops.write_cr2(x)
  171. #define read_cr3() paravirt_ops.read_cr3()
  172. #define write_cr3(x) paravirt_ops.write_cr3(x)
  173. #define read_cr4() paravirt_ops.read_cr4()
  174. #define read_cr4_safe(x) paravirt_ops.read_cr4_safe()
  175. #define write_cr4(x) paravirt_ops.write_cr4(x)
  176. static inline void raw_safe_halt(void)
  177. {
  178. paravirt_ops.safe_halt();
  179. }
  180. static inline void halt(void)
  181. {
  182. paravirt_ops.safe_halt();
  183. }
  184. #define wbinvd() paravirt_ops.wbinvd()
  185. #define get_kernel_rpl() (paravirt_ops.kernel_rpl)
  186. #define rdmsr(msr,val1,val2) do { \
  187. int _err; \
  188. u64 _l = paravirt_ops.read_msr(msr,&_err); \
  189. val1 = (u32)_l; \
  190. val2 = _l >> 32; \
  191. } while(0)
  192. #define wrmsr(msr,val1,val2) do { \
  193. u64 _l = ((u64)(val2) << 32) | (val1); \
  194. paravirt_ops.write_msr((msr), _l); \
  195. } while(0)
  196. #define rdmsrl(msr,val) do { \
  197. int _err; \
  198. val = paravirt_ops.read_msr((msr),&_err); \
  199. } while(0)
  200. #define wrmsrl(msr,val) (paravirt_ops.write_msr((msr),(val)))
  201. #define wrmsr_safe(msr,a,b) ({ \
  202. u64 _l = ((u64)(b) << 32) | (a); \
  203. paravirt_ops.write_msr((msr),_l); \
  204. })
  205. /* rdmsr with exception handling */
  206. #define rdmsr_safe(msr,a,b) ({ \
  207. int _err; \
  208. u64 _l = paravirt_ops.read_msr(msr,&_err); \
  209. (*a) = (u32)_l; \
  210. (*b) = _l >> 32; \
  211. _err; })
  212. #define rdtsc(low,high) do { \
  213. u64 _l = paravirt_ops.read_tsc(); \
  214. low = (u32)_l; \
  215. high = _l >> 32; \
  216. } while(0)
  217. #define rdtscl(low) do { \
  218. u64 _l = paravirt_ops.read_tsc(); \
  219. low = (int)_l; \
  220. } while(0)
  221. #define rdtscll(val) (val = paravirt_ops.read_tsc())
  222. #define write_tsc(val1,val2) wrmsr(0x10, val1, val2)
  223. #define rdpmc(counter,low,high) do { \
  224. u64 _l = paravirt_ops.read_pmc(); \
  225. low = (u32)_l; \
  226. high = _l >> 32; \
  227. } while(0)
  228. #define load_TR_desc() (paravirt_ops.load_tr_desc())
  229. #define load_gdt(dtr) (paravirt_ops.load_gdt(dtr))
  230. #define load_idt(dtr) (paravirt_ops.load_idt(dtr))
  231. #define set_ldt(addr, entries) (paravirt_ops.set_ldt((addr), (entries)))
  232. #define store_gdt(dtr) (paravirt_ops.store_gdt(dtr))
  233. #define store_idt(dtr) (paravirt_ops.store_idt(dtr))
  234. #define store_tr(tr) ((tr) = paravirt_ops.store_tr())
  235. #define load_TLS(t,cpu) (paravirt_ops.load_tls((t),(cpu)))
  236. #define write_ldt_entry(dt, entry, low, high) \
  237. (paravirt_ops.write_ldt_entry((dt), (entry), (low), (high)))
  238. #define write_gdt_entry(dt, entry, low, high) \
  239. (paravirt_ops.write_gdt_entry((dt), (entry), (low), (high)))
  240. #define write_idt_entry(dt, entry, low, high) \
  241. (paravirt_ops.write_idt_entry((dt), (entry), (low), (high)))
  242. #define set_iopl_mask(mask) (paravirt_ops.set_iopl_mask(mask))
  243. /* The paravirtualized I/O functions */
  244. static inline void slow_down_io(void) {
  245. paravirt_ops.io_delay();
  246. #ifdef REALLY_SLOW_IO
  247. paravirt_ops.io_delay();
  248. paravirt_ops.io_delay();
  249. paravirt_ops.io_delay();
  250. #endif
  251. }
  252. #ifdef CONFIG_X86_LOCAL_APIC
  253. /*
  254. * Basic functions accessing APICs.
  255. */
  256. static inline void apic_write(unsigned long reg, unsigned long v)
  257. {
  258. paravirt_ops.apic_write(reg,v);
  259. }
  260. static inline void apic_write_atomic(unsigned long reg, unsigned long v)
  261. {
  262. paravirt_ops.apic_write_atomic(reg,v);
  263. }
  264. static inline unsigned long apic_read(unsigned long reg)
  265. {
  266. return paravirt_ops.apic_read(reg);
  267. }
  268. static inline void setup_boot_clock(void)
  269. {
  270. paravirt_ops.setup_boot_clock();
  271. }
  272. static inline void setup_secondary_clock(void)
  273. {
  274. paravirt_ops.setup_secondary_clock();
  275. }
  276. #endif
  277. #ifdef CONFIG_SMP
  278. static inline void startup_ipi_hook(int phys_apicid, unsigned long start_eip,
  279. unsigned long start_esp)
  280. {
  281. return paravirt_ops.startup_ipi_hook(phys_apicid, start_eip, start_esp);
  282. }
  283. #endif
  284. #define __flush_tlb() paravirt_ops.flush_tlb_user()
  285. #define __flush_tlb_global() paravirt_ops.flush_tlb_kernel()
  286. #define __flush_tlb_single(addr) paravirt_ops.flush_tlb_single(addr)
  287. #define paravirt_alloc_pt(pfn) paravirt_ops.alloc_pt(pfn)
  288. #define paravirt_release_pt(pfn) paravirt_ops.release_pt(pfn)
  289. #define paravirt_alloc_pd(pfn) paravirt_ops.alloc_pd(pfn)
  290. #define paravirt_alloc_pd_clone(pfn, clonepfn, start, count) \
  291. paravirt_ops.alloc_pd_clone(pfn, clonepfn, start, count)
  292. #define paravirt_release_pd(pfn) paravirt_ops.release_pd(pfn)
  293. static inline void set_pte(pte_t *ptep, pte_t pteval)
  294. {
  295. paravirt_ops.set_pte(ptep, pteval);
  296. }
  297. static inline void set_pte_at(struct mm_struct *mm, u32 addr, pte_t *ptep, pte_t pteval)
  298. {
  299. paravirt_ops.set_pte_at(mm, addr, ptep, pteval);
  300. }
  301. static inline void set_pmd(pmd_t *pmdp, pmd_t pmdval)
  302. {
  303. paravirt_ops.set_pmd(pmdp, pmdval);
  304. }
  305. static inline void pte_update(struct mm_struct *mm, u32 addr, pte_t *ptep)
  306. {
  307. paravirt_ops.pte_update(mm, addr, ptep);
  308. }
  309. static inline void pte_update_defer(struct mm_struct *mm, u32 addr, pte_t *ptep)
  310. {
  311. paravirt_ops.pte_update_defer(mm, addr, ptep);
  312. }
  313. #ifdef CONFIG_X86_PAE
  314. static inline void set_pte_atomic(pte_t *ptep, pte_t pteval)
  315. {
  316. paravirt_ops.set_pte_atomic(ptep, pteval);
  317. }
  318. static inline void set_pte_present(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte)
  319. {
  320. paravirt_ops.set_pte_present(mm, addr, ptep, pte);
  321. }
  322. static inline void set_pud(pud_t *pudp, pud_t pudval)
  323. {
  324. paravirt_ops.set_pud(pudp, pudval);
  325. }
  326. static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
  327. {
  328. paravirt_ops.pte_clear(mm, addr, ptep);
  329. }
  330. static inline void pmd_clear(pmd_t *pmdp)
  331. {
  332. paravirt_ops.pmd_clear(pmdp);
  333. }
  334. #endif
  335. /* Lazy mode for batching updates / context switch */
  336. #define PARAVIRT_LAZY_NONE 0
  337. #define PARAVIRT_LAZY_MMU 1
  338. #define PARAVIRT_LAZY_CPU 2
  339. #define __HAVE_ARCH_ENTER_LAZY_CPU_MODE
  340. #define arch_enter_lazy_cpu_mode() paravirt_ops.set_lazy_mode(PARAVIRT_LAZY_CPU)
  341. #define arch_leave_lazy_cpu_mode() paravirt_ops.set_lazy_mode(PARAVIRT_LAZY_NONE)
  342. #define __HAVE_ARCH_ENTER_LAZY_MMU_MODE
  343. #define arch_enter_lazy_mmu_mode() paravirt_ops.set_lazy_mode(PARAVIRT_LAZY_MMU)
  344. #define arch_leave_lazy_mmu_mode() paravirt_ops.set_lazy_mode(PARAVIRT_LAZY_NONE)
  345. /* These all sit in the .parainstructions section to tell us what to patch. */
  346. struct paravirt_patch {
  347. u8 *instr; /* original instructions */
  348. u8 instrtype; /* type of this instruction */
  349. u8 len; /* length of original instruction */
  350. u16 clobbers; /* what registers you may clobber */
  351. };
  352. #define paravirt_alt(insn_string, typenum, clobber) \
  353. "771:\n\t" insn_string "\n" "772:\n" \
  354. ".pushsection .parainstructions,\"a\"\n" \
  355. " .long 771b\n" \
  356. " .byte " __stringify(typenum) "\n" \
  357. " .byte 772b-771b\n" \
  358. " .short " __stringify(clobber) "\n" \
  359. ".popsection"
  360. static inline unsigned long __raw_local_save_flags(void)
  361. {
  362. unsigned long f;
  363. __asm__ __volatile__(paravirt_alt( "pushl %%ecx; pushl %%edx;"
  364. "call *%1;"
  365. "popl %%edx; popl %%ecx",
  366. PARAVIRT_SAVE_FLAGS, CLBR_NONE)
  367. : "=a"(f): "m"(paravirt_ops.save_fl)
  368. : "memory", "cc");
  369. return f;
  370. }
  371. static inline void raw_local_irq_restore(unsigned long f)
  372. {
  373. __asm__ __volatile__(paravirt_alt( "pushl %%ecx; pushl %%edx;"
  374. "call *%1;"
  375. "popl %%edx; popl %%ecx",
  376. PARAVIRT_RESTORE_FLAGS, CLBR_EAX)
  377. : "=a"(f) : "m" (paravirt_ops.restore_fl), "0"(f)
  378. : "memory", "cc");
  379. }
  380. static inline void raw_local_irq_disable(void)
  381. {
  382. __asm__ __volatile__(paravirt_alt( "pushl %%ecx; pushl %%edx;"
  383. "call *%0;"
  384. "popl %%edx; popl %%ecx",
  385. PARAVIRT_IRQ_DISABLE, CLBR_EAX)
  386. : : "m" (paravirt_ops.irq_disable)
  387. : "memory", "eax", "cc");
  388. }
  389. static inline void raw_local_irq_enable(void)
  390. {
  391. __asm__ __volatile__(paravirt_alt( "pushl %%ecx; pushl %%edx;"
  392. "call *%0;"
  393. "popl %%edx; popl %%ecx",
  394. PARAVIRT_IRQ_ENABLE, CLBR_EAX)
  395. : : "m" (paravirt_ops.irq_enable)
  396. : "memory", "eax", "cc");
  397. }
  398. static inline unsigned long __raw_local_irq_save(void)
  399. {
  400. unsigned long f;
  401. __asm__ __volatile__(paravirt_alt( "pushl %%ecx; pushl %%edx;"
  402. "call *%1; pushl %%eax;"
  403. "call *%2; popl %%eax;"
  404. "popl %%edx; popl %%ecx",
  405. PARAVIRT_SAVE_FLAGS_IRQ_DISABLE,
  406. CLBR_NONE)
  407. : "=a"(f)
  408. : "m" (paravirt_ops.save_fl),
  409. "m" (paravirt_ops.irq_disable)
  410. : "memory", "cc");
  411. return f;
  412. }
  413. #define CLI_STRING paravirt_alt("pushl %%ecx; pushl %%edx;" \
  414. "call *paravirt_ops+%c[irq_disable];" \
  415. "popl %%edx; popl %%ecx", \
  416. PARAVIRT_IRQ_DISABLE, CLBR_EAX)
  417. #define STI_STRING paravirt_alt("pushl %%ecx; pushl %%edx;" \
  418. "call *paravirt_ops+%c[irq_enable];" \
  419. "popl %%edx; popl %%ecx", \
  420. PARAVIRT_IRQ_ENABLE, CLBR_EAX)
  421. #define CLI_STI_CLOBBERS , "%eax"
  422. #define CLI_STI_INPUT_ARGS \
  423. , \
  424. [irq_disable] "i" (offsetof(struct paravirt_ops, irq_disable)), \
  425. [irq_enable] "i" (offsetof(struct paravirt_ops, irq_enable))
  426. #else /* __ASSEMBLY__ */
  427. #define PARA_PATCH(ptype, clobbers, ops) \
  428. 771:; \
  429. ops; \
  430. 772:; \
  431. .pushsection .parainstructions,"a"; \
  432. .long 771b; \
  433. .byte ptype; \
  434. .byte 772b-771b; \
  435. .short clobbers; \
  436. .popsection
  437. #define INTERRUPT_RETURN \
  438. PARA_PATCH(PARAVIRT_INTERRUPT_RETURN, CLBR_ANY, \
  439. jmp *%cs:paravirt_ops+PARAVIRT_iret)
  440. #define DISABLE_INTERRUPTS(clobbers) \
  441. PARA_PATCH(PARAVIRT_IRQ_DISABLE, clobbers, \
  442. pushl %ecx; pushl %edx; \
  443. call *paravirt_ops+PARAVIRT_irq_disable; \
  444. popl %edx; popl %ecx) \
  445. #define ENABLE_INTERRUPTS(clobbers) \
  446. PARA_PATCH(PARAVIRT_IRQ_ENABLE, clobbers, \
  447. pushl %ecx; pushl %edx; \
  448. call *%cs:paravirt_ops+PARAVIRT_irq_enable; \
  449. popl %edx; popl %ecx)
  450. #define ENABLE_INTERRUPTS_SYSEXIT \
  451. PARA_PATCH(PARAVIRT_STI_SYSEXIT, CLBR_ANY, \
  452. jmp *%cs:paravirt_ops+PARAVIRT_irq_enable_sysexit)
  453. #define GET_CR0_INTO_EAX \
  454. call *paravirt_ops+PARAVIRT_read_cr0
  455. #endif /* __ASSEMBLY__ */
  456. #endif /* CONFIG_PARAVIRT */
  457. #endif /* __ASM_PARAVIRT_H */