forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm/include/asm/page.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/asm/page.h
34 *
45 * Copyright (C) 1995-2003 Russell King
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107 #ifndef _ASMARM_PAGE_H
118 #define _ASMARM_PAGE_H
....@@ -164,9 +161,7 @@
164161
165162 #endif /* !__ASSEMBLY__ */
166163
167
-#define VM_DATA_DEFAULT_FLAGS \
168
- (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
169
- VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
164
+#define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_TSK_EXEC
170165
171166 #include <asm-generic/getorder.h>
172167