Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86/mm: Remove unused NX related declarations

Since commit 4763ed4d4552 ("x86, mm: Clean up and simplify NX enablement")
these declarations is unused and can be removed.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240814031922.2333198-1-yuehaibing@huawei.com

authored by

Yue Haibing and committed by
Thomas Gleixner
1aa0c92f 4276a0bb

-2
-2
arch/x86/include/asm/pgtable_types.h
··· 517 517 518 518 extern pteval_t __supported_pte_mask; 519 519 extern pteval_t __default_kernel_pte_mask; 520 - extern void set_nx(void); 521 - extern int nx_enabled; 522 520 523 521 #define pgprot_writecombine pgprot_writecombine 524 522 extern pgprot_t pgprot_writecombine(pgprot_t prot);