Go to the documentation of this file.
27 #include <asm/mem-layout.h>
34 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))
35 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
46 static inline unsigned long fix_to_virt(
const unsigned int idx)
63 static inline unsigned long virt_to_fix(
const unsigned long vaddr)
69 #define kmap_get_fixmap_pte(vaddr) \
70 pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), \
71 (vaddr)), (vaddr)), (vaddr))