Skip to content

Commit

Permalink
x86/mm: Remove unused NX related declarations
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
Yue Haibing authored and KAGA-KOKO committed Aug 14, 2024
1 parent 4276a0b commit 1aa0c92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/include/asm/pgtable_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,6 @@ typedef struct page *pgtable_t;

extern pteval_t __supported_pte_mask;
extern pteval_t __default_kernel_pte_mask;
extern void set_nx(void);
extern int nx_enabled;

#define pgprot_writecombine pgprot_writecombine
extern pgprot_t pgprot_writecombine(pgprot_t prot);
Expand Down

0 comments on commit 1aa0c92

Please sign in to comment.