diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-10 20:35:03 +0000 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2022-12-15 10:37:28 -0800 |
commit | bde258d97409f2a45243cb393a55ea9ecfc7aba5 (patch) | |
tree | 6b8585e1a7c5738045aa7ee5c495ae76d35ad79d /arch/um/include/shared/arch.h | |
parent | 7077d2ccb94dafd00b29cc2d601c9f6891648f5b (diff) | |
download | linux-bde258d97409f2a45243cb393a55ea9ecfc7aba5.tar.gz linux-bde258d97409f2a45243cb393a55ea9ecfc7aba5.tar.bz2 linux-bde258d97409f2a45243cb393a55ea9ecfc7aba5.zip |
x86/kasan: Add helpers to align shadow addresses up and down
Add helpers to dedup code for aligning shadow address up/down to page
boundaries when translating an address to its shadow.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Link: https://lkml.kernel.org/r/20221110203504.1985010-5-seanjc@google.com
Diffstat (limited to 'arch/um/include/shared/arch.h')
0 files changed, 0 insertions, 0 deletions