diff options
| author | Mark Rutland <[email protected]> | 2016-01-25 11:45:03 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2016-02-16 15:10:45 +0000 |
| commit | 053520f7d3923cc6d37afb28f9887cb1e7d77454 (patch) | |
| tree | 6b8bc96235ba066aed982ec2cc2b708549ba56f9 /tools/perf/scripts/python | |
| parent | c1a88e9124a499939ebd8069d5e4d3937f019157 (diff) | |
arm64: mm: move pte_* macros
For pmd, pud, and pgd levels of table, functions including p?d_index and
p?d_offset are defined after the p?d_page_vaddr function for the
immediately higher level of table.
The pte functions however are defined much earlier, even though several
rely on the later definition of pmd_page_vaddr. While this isn't
currently a problem as these are macros, it prevents the logical
grouping of later C functions (which cannot rely on prototypes for
functions not yet defined).
Move these definitions after pmd_page_vaddr, for consistency with the
placement of these functions for other levels of table.
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Tested-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Tested-by: Jeremy Linton <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions