Changeset 804d9b6 in mainline for kernel/arch/arm32/include/mm/page.h
- Timestamp:
- 2012-07-14T11:25:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 774c143
- Parents:
- 97c7682
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/mm/page.h
r97c7682 r804d9b6 135 135 #endif 136 136 137 #ifndef __ASM__138 NO_TRACE static inline void set_pt_level0_present(pte_t *pt, size_t i)139 {140 pte_level0_t *p = &pt[i].l0;141 142 p->should_be_zero = 0;143 write_barrier();144 p->descriptor_type = PTE_DESCRIPTOR_COARSE_TABLE;145 }146 147 148 NO_TRACE static inline void set_pt_level1_present(pte_t *pt, size_t i)149 {150 pte_level1_t *p = &pt[i].l1;151 152 p->descriptor_type = PTE_DESCRIPTOR_SMALL_PAGE;153 }154 155 #endif /* __ASM__ */156 157 137 #endif 158 138
Note:
See TracChangeset
for help on using the changeset viewer.