tlbflush.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. /*
  2. * arch/arm/include/asm/tlbflush.h
  3. *
  4. * Copyright (C) 1999-2003 Russell King
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef _ASMARM_TLBFLUSH_H
  11. #define _ASMARM_TLBFLUSH_H
  12. #ifndef CONFIG_MMU
  13. #define tlb_flush(tlb) ((void) tlb)
  14. #else /* CONFIG_MMU */
  15. #include <asm/glue.h>
  16. #define TLB_V3_PAGE (1 << 0)
  17. #define TLB_V4_U_PAGE (1 << 1)
  18. #define TLB_V4_D_PAGE (1 << 2)
  19. #define TLB_V4_I_PAGE (1 << 3)
  20. #define TLB_V6_U_PAGE (1 << 4)
  21. #define TLB_V6_D_PAGE (1 << 5)
  22. #define TLB_V6_I_PAGE (1 << 6)
  23. #define TLB_V3_FULL (1 << 8)
  24. #define TLB_V4_U_FULL (1 << 9)
  25. #define TLB_V4_D_FULL (1 << 10)
  26. #define TLB_V4_I_FULL (1 << 11)
  27. #define TLB_V6_U_FULL (1 << 12)
  28. #define TLB_V6_D_FULL (1 << 13)
  29. #define TLB_V6_I_FULL (1 << 14)
  30. #define TLB_V6_U_ASID (1 << 16)
  31. #define TLB_V6_D_ASID (1 << 17)
  32. #define TLB_V6_I_ASID (1 << 18)
  33. #define TLB_BTB (1 << 28)
  34. /* Unified Inner Shareable TLB operations (ARMv7 MP extensions) */
  35. #define TLB_V7_UIS_PAGE (1 << 19)
  36. #define TLB_V7_UIS_FULL (1 << 20)
  37. #define TLB_V7_UIS_ASID (1 << 21)
  38. #define TLB_L2CLEAN_FR (1 << 29) /* Feroceon */
  39. #define TLB_DCLEAN (1 << 30)
  40. #define TLB_WB (1 << 31)
  41. /*
  42. * MMU TLB Model
  43. * =============
  44. *
  45. * We have the following to choose from:
  46. * v3 - ARMv3
  47. * v4 - ARMv4 without write buffer
  48. * v4wb - ARMv4 with write buffer without I TLB flush entry instruction
  49. * v4wbi - ARMv4 with write buffer with I TLB flush entry instruction
  50. * fr - Feroceon (v4wbi with non-outer-cacheable page table walks)
  51. * fa - Faraday (v4 with write buffer with UTLB and branch target buffer (BTB))
  52. * v6wbi - ARMv6 with write buffer with I TLB flush entry instruction
  53. * v7wbi - identical to v6wbi
  54. */
  55. #undef _TLB
  56. #undef MULTI_TLB
  57. #define v3_tlb_flags (TLB_V3_FULL | TLB_V3_PAGE)
  58. #ifdef CONFIG_CPU_TLB_V3
  59. # define v3_possible_flags v3_tlb_flags
  60. # define v3_always_flags v3_tlb_flags
  61. # ifdef _TLB
  62. # define MULTI_TLB 1
  63. # else
  64. # define _TLB v3
  65. # endif
  66. #else
  67. # define v3_possible_flags 0
  68. # define v3_always_flags (-1UL)
  69. #endif
  70. #define v4_tlb_flags (TLB_V4_U_FULL | TLB_V4_U_PAGE)
  71. #ifdef CONFIG_CPU_TLB_V4WT
  72. # define v4_possible_flags v4_tlb_flags
  73. # define v4_always_flags v4_tlb_flags
  74. # ifdef _TLB
  75. # define MULTI_TLB 1
  76. # else
  77. # define _TLB v4
  78. # endif
  79. #else
  80. # define v4_possible_flags 0
  81. # define v4_always_flags (-1UL)
  82. #endif
  83. #define fa_tlb_flags (TLB_WB | TLB_BTB | TLB_DCLEAN | \
  84. TLB_V4_U_FULL | TLB_V4_U_PAGE)
  85. #ifdef CONFIG_CPU_TLB_FA
  86. # define fa_possible_flags fa_tlb_flags
  87. # define fa_always_flags fa_tlb_flags
  88. # ifdef _TLB
  89. # define MULTI_TLB 1
  90. # else
  91. # define _TLB fa
  92. # endif
  93. #else
  94. # define fa_possible_flags 0
  95. # define fa_always_flags (-1UL)
  96. #endif
  97. #define v4wbi_tlb_flags (TLB_WB | TLB_DCLEAN | \
  98. TLB_V4_I_FULL | TLB_V4_D_FULL | \
  99. TLB_V4_I_PAGE | TLB_V4_D_PAGE)
  100. #ifdef CONFIG_CPU_TLB_V4WBI
  101. # define v4wbi_possible_flags v4wbi_tlb_flags
  102. # define v4wbi_always_flags v4wbi_tlb_flags
  103. # ifdef _TLB
  104. # define MULTI_TLB 1
  105. # else
  106. # define _TLB v4wbi
  107. # endif
  108. #else
  109. # define v4wbi_possible_flags 0
  110. # define v4wbi_always_flags (-1UL)
  111. #endif
  112. #define fr_tlb_flags (TLB_WB | TLB_DCLEAN | TLB_L2CLEAN_FR | \
  113. TLB_V4_I_FULL | TLB_V4_D_FULL | \
  114. TLB_V4_I_PAGE | TLB_V4_D_PAGE)
  115. #ifdef CONFIG_CPU_TLB_FEROCEON
  116. # define fr_possible_flags fr_tlb_flags
  117. # define fr_always_flags fr_tlb_flags
  118. # ifdef _TLB
  119. # define MULTI_TLB 1
  120. # else
  121. # define _TLB v4wbi
  122. # endif
  123. #else
  124. # define fr_possible_flags 0
  125. # define fr_always_flags (-1UL)
  126. #endif
  127. #define v4wb_tlb_flags (TLB_WB | TLB_DCLEAN | \
  128. TLB_V4_I_FULL | TLB_V4_D_FULL | \
  129. TLB_V4_D_PAGE)
  130. #ifdef CONFIG_CPU_TLB_V4WB
  131. # define v4wb_possible_flags v4wb_tlb_flags
  132. # define v4wb_always_flags v4wb_tlb_flags
  133. # ifdef _TLB
  134. # define MULTI_TLB 1
  135. # else
  136. # define _TLB v4wb
  137. # endif
  138. #else
  139. # define v4wb_possible_flags 0
  140. # define v4wb_always_flags (-1UL)
  141. #endif
  142. #define v6wbi_tlb_flags (TLB_WB | TLB_DCLEAN | TLB_BTB | \
  143. TLB_V6_I_FULL | TLB_V6_D_FULL | \
  144. TLB_V6_I_PAGE | TLB_V6_D_PAGE | \
  145. TLB_V6_I_ASID | TLB_V6_D_ASID)
  146. #ifdef CONFIG_CPU_TLB_V6
  147. # define v6wbi_possible_flags v6wbi_tlb_flags
  148. # define v6wbi_always_flags v6wbi_tlb_flags
  149. # ifdef _TLB
  150. # define MULTI_TLB 1
  151. # else
  152. # define _TLB v6wbi
  153. # endif
  154. #else
  155. # define v6wbi_possible_flags 0
  156. # define v6wbi_always_flags (-1UL)
  157. #endif
  158. #ifdef CONFIG_SMP
  159. #define v7wbi_tlb_flags (TLB_WB | TLB_DCLEAN | TLB_BTB | \
  160. TLB_V7_UIS_FULL | TLB_V7_UIS_PAGE | TLB_V7_UIS_ASID)
  161. #else
  162. #define v7wbi_tlb_flags (TLB_WB | TLB_DCLEAN | TLB_BTB | \
  163. TLB_V6_U_FULL | TLB_V6_U_PAGE | TLB_V6_U_ASID)
  164. #endif
  165. #ifdef CONFIG_CPU_TLB_V7
  166. # define v7wbi_possible_flags v7wbi_tlb_flags
  167. # define v7wbi_always_flags v7wbi_tlb_flags
  168. # ifdef _TLB
  169. # define MULTI_TLB 1
  170. # else
  171. # define _TLB v7wbi
  172. # endif
  173. #else
  174. # define v7wbi_possible_flags 0
  175. # define v7wbi_always_flags (-1UL)
  176. #endif
  177. #ifndef _TLB
  178. #error Unknown TLB model
  179. #endif
  180. #ifndef __ASSEMBLY__
  181. #include <linux/sched.h>
  182. struct cpu_tlb_fns {
  183. void (*flush_user_range)(unsigned long, unsigned long, struct vm_area_struct *);
  184. void (*flush_kern_range)(unsigned long, unsigned long);
  185. unsigned long tlb_flags;
  186. };
  187. /*
  188. * Select the calling method
  189. */
  190. #ifdef MULTI_TLB
  191. #define __cpu_flush_user_tlb_range cpu_tlb.flush_user_range
  192. #define __cpu_flush_kern_tlb_range cpu_tlb.flush_kern_range
  193. #else
  194. #define __cpu_flush_user_tlb_range __glue(_TLB,_flush_user_tlb_range)
  195. #define __cpu_flush_kern_tlb_range __glue(_TLB,_flush_kern_tlb_range)
  196. extern void __cpu_flush_user_tlb_range(unsigned long, unsigned long, struct vm_area_struct *);
  197. extern void __cpu_flush_kern_tlb_range(unsigned long, unsigned long);
  198. #endif
  199. extern struct cpu_tlb_fns cpu_tlb;
  200. #define __cpu_tlb_flags cpu_tlb.tlb_flags
  201. /*
  202. * TLB Management
  203. * ==============
  204. *
  205. * The arch/arm/mm/tlb-*.S files implement these methods.
  206. *
  207. * The TLB specific code is expected to perform whatever tests it
  208. * needs to determine if it should invalidate the TLB for each
  209. * call. Start addresses are inclusive and end addresses are
  210. * exclusive; it is safe to round these addresses down.
  211. *
  212. * flush_tlb_all()
  213. *
  214. * Invalidate the entire TLB.
  215. *
  216. * flush_tlb_mm(mm)
  217. *
  218. * Invalidate all TLB entries in a particular address
  219. * space.
  220. * - mm - mm_struct describing address space
  221. *
  222. * flush_tlb_range(mm,start,end)
  223. *
  224. * Invalidate a range of TLB entries in the specified
  225. * address space.
  226. * - mm - mm_struct describing address space
  227. * - start - start address (may not be aligned)
  228. * - end - end address (exclusive, may not be aligned)
  229. *
  230. * flush_tlb_page(vaddr,vma)
  231. *
  232. * Invalidate the specified page in the specified address range.
  233. * - vaddr - virtual address (may not be aligned)
  234. * - vma - vma_struct describing address range
  235. *
  236. * flush_kern_tlb_page(kaddr)
  237. *
  238. * Invalidate the TLB entry for the specified page. The address
  239. * will be in the kernels virtual memory space. Current uses
  240. * only require the D-TLB to be invalidated.
  241. * - kaddr - Kernel virtual memory address
  242. */
  243. /*
  244. * We optimise the code below by:
  245. * - building a set of TLB flags that might be set in __cpu_tlb_flags
  246. * - building a set of TLB flags that will always be set in __cpu_tlb_flags
  247. * - if we're going to need __cpu_tlb_flags, access it once and only once
  248. *
  249. * This allows us to build optimal assembly for the single-CPU type case,
  250. * and as close to optimal given the compiler constrants for multi-CPU
  251. * case. We could do better for the multi-CPU case if the compiler
  252. * implemented the "%?" method, but this has been discontinued due to too
  253. * many people getting it wrong.
  254. */
  255. #define possible_tlb_flags (v3_possible_flags | \
  256. v4_possible_flags | \
  257. v4wbi_possible_flags | \
  258. fr_possible_flags | \
  259. v4wb_possible_flags | \
  260. fa_possible_flags | \
  261. v6wbi_possible_flags | \
  262. v7wbi_possible_flags)
  263. #define always_tlb_flags (v3_always_flags & \
  264. v4_always_flags & \
  265. v4wbi_always_flags & \
  266. fr_always_flags & \
  267. v4wb_always_flags & \
  268. fa_always_flags & \
  269. v6wbi_always_flags & \
  270. v7wbi_always_flags)
  271. #define tlb_flag(f) ((always_tlb_flags & (f)) || (__tlb_flag & possible_tlb_flags & (f)))
  272. static inline void local_flush_tlb_all(void)
  273. {
  274. const int zero = 0;
  275. const unsigned int __tlb_flag = __cpu_tlb_flags;
  276. if (tlb_flag(TLB_WB))
  277. dsb();
  278. if (tlb_flag(TLB_V3_FULL))
  279. asm("mcr p15, 0, %0, c6, c0, 0" : : "r" (zero) : "cc");
  280. if (tlb_flag(TLB_V4_U_FULL | TLB_V6_U_FULL))
  281. asm("mcr p15, 0, %0, c8, c7, 0" : : "r" (zero) : "cc");
  282. if (tlb_flag(TLB_V4_D_FULL | TLB_V6_D_FULL))
  283. asm("mcr p15, 0, %0, c8, c6, 0" : : "r" (zero) : "cc");
  284. if (tlb_flag(TLB_V4_I_FULL | TLB_V6_I_FULL))
  285. asm("mcr p15, 0, %0, c8, c5, 0" : : "r" (zero) : "cc");
  286. if (tlb_flag(TLB_V7_UIS_FULL))
  287. asm("mcr p15, 0, %0, c8, c3, 0" : : "r" (zero) : "cc");
  288. if (tlb_flag(TLB_BTB)) {
  289. /* flush the branch target cache */
  290. asm("mcr p15, 0, %0, c7, c5, 6" : : "r" (zero) : "cc");
  291. dsb();
  292. isb();
  293. }
  294. }
  295. static inline void local_flush_tlb_mm(struct mm_struct *mm)
  296. {
  297. const int zero = 0;
  298. const int asid = ASID(mm);
  299. const unsigned int __tlb_flag = __cpu_tlb_flags;
  300. if (tlb_flag(TLB_WB))
  301. dsb();
  302. if (cpu_isset(smp_processor_id(), mm->cpu_vm_mask)) {
  303. if (tlb_flag(TLB_V3_FULL))
  304. asm("mcr p15, 0, %0, c6, c0, 0" : : "r" (zero) : "cc");
  305. if (tlb_flag(TLB_V4_U_FULL))
  306. asm("mcr p15, 0, %0, c8, c7, 0" : : "r" (zero) : "cc");
  307. if (tlb_flag(TLB_V4_D_FULL))
  308. asm("mcr p15, 0, %0, c8, c6, 0" : : "r" (zero) : "cc");
  309. if (tlb_flag(TLB_V4_I_FULL))
  310. asm("mcr p15, 0, %0, c8, c5, 0" : : "r" (zero) : "cc");
  311. }
  312. if (tlb_flag(TLB_V6_U_ASID))
  313. asm("mcr p15, 0, %0, c8, c7, 2" : : "r" (asid) : "cc");
  314. if (tlb_flag(TLB_V6_D_ASID))
  315. asm("mcr p15, 0, %0, c8, c6, 2" : : "r" (asid) : "cc");
  316. if (tlb_flag(TLB_V6_I_ASID))
  317. asm("mcr p15, 0, %0, c8, c5, 2" : : "r" (asid) : "cc");
  318. if (tlb_flag(TLB_V7_UIS_ASID))
  319. asm("mcr p15, 0, %0, c8, c3, 2" : : "r" (asid) : "cc");
  320. if (tlb_flag(TLB_BTB)) {
  321. /* flush the branch target cache */
  322. asm("mcr p15, 0, %0, c7, c5, 6" : : "r" (zero) : "cc");
  323. dsb();
  324. }
  325. }
  326. static inline void
  327. local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr)
  328. {
  329. const int zero = 0;
  330. const unsigned int __tlb_flag = __cpu_tlb_flags;
  331. uaddr = (uaddr & PAGE_MASK) | ASID(vma->vm_mm);
  332. if (tlb_flag(TLB_WB))
  333. dsb();
  334. if (cpu_isset(smp_processor_id(), vma->vm_mm->cpu_vm_mask)) {
  335. if (tlb_flag(TLB_V3_PAGE))
  336. asm("mcr p15, 0, %0, c6, c0, 0" : : "r" (uaddr) : "cc");
  337. if (tlb_flag(TLB_V4_U_PAGE))
  338. asm("mcr p15, 0, %0, c8, c7, 1" : : "r" (uaddr) : "cc");
  339. if (tlb_flag(TLB_V4_D_PAGE))
  340. asm("mcr p15, 0, %0, c8, c6, 1" : : "r" (uaddr) : "cc");
  341. if (tlb_flag(TLB_V4_I_PAGE))
  342. asm("mcr p15, 0, %0, c8, c5, 1" : : "r" (uaddr) : "cc");
  343. if (!tlb_flag(TLB_V4_I_PAGE) && tlb_flag(TLB_V4_I_FULL))
  344. asm("mcr p15, 0, %0, c8, c5, 0" : : "r" (zero) : "cc");
  345. }
  346. if (tlb_flag(TLB_V6_U_PAGE))
  347. asm("mcr p15, 0, %0, c8, c7, 1" : : "r" (uaddr) : "cc");
  348. if (tlb_flag(TLB_V6_D_PAGE))
  349. asm("mcr p15, 0, %0, c8, c6, 1" : : "r" (uaddr) : "cc");
  350. if (tlb_flag(TLB_V6_I_PAGE))
  351. asm("mcr p15, 0, %0, c8, c5, 1" : : "r" (uaddr) : "cc");
  352. if (tlb_flag(TLB_V7_UIS_PAGE))
  353. asm("mcr p15, 0, %0, c8, c3, 1" : : "r" (uaddr) : "cc");
  354. if (tlb_flag(TLB_BTB)) {
  355. /* flush the branch target cache */
  356. asm("mcr p15, 0, %0, c7, c5, 6" : : "r" (zero) : "cc");
  357. dsb();
  358. }
  359. }
  360. static inline void local_flush_tlb_kernel_page(unsigned long kaddr)
  361. {
  362. const int zero = 0;
  363. const unsigned int __tlb_flag = __cpu_tlb_flags;
  364. kaddr &= PAGE_MASK;
  365. if (tlb_flag(TLB_WB))
  366. dsb();
  367. if (tlb_flag(TLB_V3_PAGE))
  368. asm("mcr p15, 0, %0, c6, c0, 0" : : "r" (kaddr) : "cc");
  369. if (tlb_flag(TLB_V4_U_PAGE))
  370. asm("mcr p15, 0, %0, c8, c7, 1" : : "r" (kaddr) : "cc");
  371. if (tlb_flag(TLB_V4_D_PAGE))
  372. asm("mcr p15, 0, %0, c8, c6, 1" : : "r" (kaddr) : "cc");
  373. if (tlb_flag(TLB_V4_I_PAGE))
  374. asm("mcr p15, 0, %0, c8, c5, 1" : : "r" (kaddr) : "cc");
  375. if (!tlb_flag(TLB_V4_I_PAGE) && tlb_flag(TLB_V4_I_FULL))
  376. asm("mcr p15, 0, %0, c8, c5, 0" : : "r" (zero) : "cc");
  377. if (tlb_flag(TLB_V6_U_PAGE))
  378. asm("mcr p15, 0, %0, c8, c7, 1" : : "r" (kaddr) : "cc");
  379. if (tlb_flag(TLB_V6_D_PAGE))
  380. asm("mcr p15, 0, %0, c8, c6, 1" : : "r" (kaddr) : "cc");
  381. if (tlb_flag(TLB_V6_I_PAGE))
  382. asm("mcr p15, 0, %0, c8, c5, 1" : : "r" (kaddr) : "cc");
  383. if (tlb_flag(TLB_V7_UIS_PAGE))
  384. asm("mcr p15, 0, %0, c8, c3, 1" : : "r" (kaddr) : "cc");
  385. if (tlb_flag(TLB_BTB)) {
  386. /* flush the branch target cache */
  387. asm("mcr p15, 0, %0, c7, c5, 6" : : "r" (zero) : "cc");
  388. dsb();
  389. isb();
  390. }
  391. }
  392. /*
  393. * flush_pmd_entry
  394. *
  395. * Flush a PMD entry (word aligned, or double-word aligned) to
  396. * RAM if the TLB for the CPU we are running on requires this.
  397. * This is typically used when we are creating PMD entries.
  398. *
  399. * clean_pmd_entry
  400. *
  401. * Clean (but don't drain the write buffer) if the CPU requires
  402. * these operations. This is typically used when we are removing
  403. * PMD entries.
  404. */
  405. static inline void flush_pmd_entry(pmd_t *pmd)
  406. {
  407. const unsigned int __tlb_flag = __cpu_tlb_flags;
  408. if (tlb_flag(TLB_DCLEAN))
  409. asm("mcr p15, 0, %0, c7, c10, 1 @ flush_pmd"
  410. : : "r" (pmd) : "cc");
  411. if (tlb_flag(TLB_L2CLEAN_FR))
  412. asm("mcr p15, 1, %0, c15, c9, 1 @ L2 flush_pmd"
  413. : : "r" (pmd) : "cc");
  414. if (tlb_flag(TLB_WB))
  415. dsb();
  416. }
  417. static inline void clean_pmd_entry(pmd_t *pmd)
  418. {
  419. const unsigned int __tlb_flag = __cpu_tlb_flags;
  420. if (tlb_flag(TLB_DCLEAN))
  421. asm("mcr p15, 0, %0, c7, c10, 1 @ flush_pmd"
  422. : : "r" (pmd) : "cc");
  423. if (tlb_flag(TLB_L2CLEAN_FR))
  424. asm("mcr p15, 1, %0, c15, c9, 1 @ L2 flush_pmd"
  425. : : "r" (pmd) : "cc");
  426. }
  427. #undef tlb_flag
  428. #undef always_tlb_flags
  429. #undef possible_tlb_flags
  430. /*
  431. * Convert calls to our calling convention.
  432. */
  433. #define local_flush_tlb_range(vma,start,end) __cpu_flush_user_tlb_range(start,end,vma)
  434. #define local_flush_tlb_kernel_range(s,e) __cpu_flush_kern_tlb_range(s,e)
  435. #ifndef CONFIG_SMP
  436. #define flush_tlb_all local_flush_tlb_all
  437. #define flush_tlb_mm local_flush_tlb_mm
  438. #define flush_tlb_page local_flush_tlb_page
  439. #define flush_tlb_kernel_page local_flush_tlb_kernel_page
  440. #define flush_tlb_range local_flush_tlb_range
  441. #define flush_tlb_kernel_range local_flush_tlb_kernel_range
  442. #else
  443. extern void flush_tlb_all(void);
  444. extern void flush_tlb_mm(struct mm_struct *mm);
  445. extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr);
  446. extern void flush_tlb_kernel_page(unsigned long kaddr);
  447. extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
  448. extern void flush_tlb_kernel_range(unsigned long start, unsigned long end);
  449. #endif
  450. /*
  451. * if PG_dcache_dirty is set for the page, we need to ensure that any
  452. * cache entries for the kernels virtual memory range are written
  453. * back to the page.
  454. */
  455. extern void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, pte_t pte);
  456. #endif
  457. #endif /* CONFIG_MMU */
  458. #endif