Skip to content

Commit 1aa0c92

Browse files
Yue HaibingKAGA-KOKO
authored andcommitted
x86/mm: Remove unused NX related declarations
Since commit 4763ed4 ("x86, mm: Clean up and simplify NX enablement") these declarations is unused and can be removed. Signed-off-by: Yue Haibing <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 4276a0b commit 1aa0c92

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/include/asm/pgtable_types.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,6 @@ typedef struct page *pgtable_t;
517517

518518
extern pteval_t __supported_pte_mask;
519519
extern pteval_t __default_kernel_pte_mask;
520-
extern void set_nx(void);
521-
extern int nx_enabled;
522520

523521
#define pgprot_writecombine pgprot_writecombine
524522
extern pgprot_t pgprot_writecombine(pgprot_t prot);

0 commit comments

Comments
 (0)