Skip to content

Commit 86977da

Browse files
author
Al Viro
committed
TEST_ACCESS_OK _never_ had been checked anywhere
Once upon a time the predecessor of that thing (TEST_VERIFY_AREA) used to be. However, that had been gone for years now (and the patch that introduced TEST_ACCESS_OK has not touched any ifdefs - they got gradually removed later). Just bury it... Signed-off-by: Al Viro <[email protected]>
1 parent c120f3b commit 86977da

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

arch/x86/include/asm/pgtable_32.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ extern pmd_t initial_pg_pmd[];
3232
void paging_init(void);
3333
void sync_initial_page_table(void);
3434

35-
/*
36-
* Define this if things work differently on an i386 and an i486:
37-
* it will (on an i486) warn about kernel memory accesses that are
38-
* done without a 'access_ok( ..)'
39-
*/
40-
#undef TEST_ACCESS_OK
41-
4235
#ifdef CONFIG_X86_PAE
4336
# include <asm/pgtable-3level.h>
4437
#else

0 commit comments

Comments
 (0)