]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
x86/mm: Remove unused CR3_HW_ASID_BITS
authorYosry Ahmed <yosryahmed@google.com>
Thu, 25 Apr 2024 21:59:51 +0000 (21:59 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 10 Aug 2024 08:47:19 +0000 (10:47 +0200)
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 <yosryahmed@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240425215951.2310105-1-yosryahmed@google.com
arch/x86/mm/tlb.c

index 1fe9ba33c5805724480665f5a07b0aab840b8155..09950feffd07ef40d5968e35dce5f56530dd1338 100644 (file)
@@ -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