aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYosry Ahmed <[email protected]>2024-04-25 21:59:51 +0000
committerThomas Gleixner <[email protected]>2024-08-10 10:47:19 +0200
commit4276a0bb62598966716e1ee1ac4a64d382cc9ef7 (patch)
tree43063515a77ce6c18f244b11e0c2d8a032460a3f
parent830a0d12943f53077b235f2a3caa8ab2b36475a3 (diff)
x86/mm: Remove unused CR3_HW_ASID_BITS
Commit 6fd166aae78c ("x86/mm: Use/Fix PCID to optimize user/kernel switches") removed the last usage of CR3_HW_ASID_BITS and opted to use X86_CR3_PCID_BITS instead. Remove CR3_HW_ASID_BITS. Signed-off-by: Yosry Ahmed <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
-rw-r--r--arch/x86/mm/tlb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c
index 1fe9ba33c580..09950feffd07 100644
--- a/arch/x86/mm/tlb.c
+++ b/arch/x86/mm/tlb.c
@@ -86,9 +86,6 @@
*
*/
-/* There are 12 bits of space for ASIDS in CR3 */
-#define CR3_HW_ASID_BITS 12
-
/*
* When enabled, MITIGATION_PAGE_TABLE_ISOLATION consumes a single bit for
* user/kernel switches