diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-07-02 09:56:54 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-08-20 11:18:44 +0100 |
commit | 727ac9ec6addca3afdac62bf265fe2c6f37c12b7 (patch) | |
tree | fe2a1b901ae9b1c4bb10a5e50df5727a19e3c8f3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed (diff) |
ARM: 9409/1: mmu: Do not use magic number for TTBCR settings
The code in early_paging_init is directly masking off bits
8, 9, 10 and 11 to temporarily disable caching of the translation
tables. There is some exlanations in the comment, but use some
defines instead of magic numbers so ut becomes more evident
what is going on.
Change the type of the register to u32 since these are indeed
unsigned 32bit registers, and use a temporary variable instead
of baking too much into the inline assembly call to increase
readability.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions