forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
arch: Move page table config macros out of
#ifndef __ASSEMBLY__ con…
…dition Move page table configuration macros like `P4D_SHIFT` out of `#ifndef __ASSEMBLY__` condition, so that they can be used by assembly code or linker scripts. For example, the `TEXT_CFI_JT` macro in `include/asm-generic/vmlinux.lds.h` needs `PMD_SIZE` when Clang CFI is enabled. Signed-off-by: Wende Tan <twd2.me@gmail.com>
- Loading branch information
1 parent
82a1c67
commit 65ec31db75ded2f0754aa4153d9aa8bbc7ac9f96
Showing
3 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters