Skip to content

Commit 4276a0b

Browse files
yosrym93KAGA-KOKO
authored andcommitted
x86/mm: Remove unused CR3_HW_ASID_BITS
Commit 6fd166a ("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]
1 parent 830a0d1 commit 4276a0b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/mm/tlb.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@
8686
*
8787
*/
8888

89-
/* There are 12 bits of space for ASIDS in CR3 */
90-
#define CR3_HW_ASID_BITS 12
91-
9289
/*
9390
* When enabled, MITIGATION_PAGE_TABLE_ISOLATION consumes a single bit for
9491
* user/kernel switches

0 commit comments

Comments
 (0)