Lines Matching +full:right +full:- +full:most
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
13 /* This is probably not the most graceful way to handle this. */
38 * in L1 PTE's. Right now, it's set up for 4MB.
43 #define HPAGE_MASK (~(HPAGE_SIZE-1))
44 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
54 * This is for PFN_DOWN, which mm.h needs. Seems the right place to pull it in.
59 * We implement a two-level architecture-specific page table structure.
61 * asm-generic/pagetable-nopmd.h and asm-generic/pagetable-nopud.h
75 /* Needed for PAGE_OFFSET used in the macro right below */
76 #include <asm/mem-layout.h>
83 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
84 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET))
92 /* Default vm area behavior is non-executable. */
126 #include <asm/mem-layout.h>
127 #include <asm-generic/memory_model.h>
128 /* XXX Todo: implement assembly-optimized version of getorder. */
129 #include <asm-generic/getorder.h>