aboutsummaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/processor.h
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2022-10-19 11:49:41 +0800
committerAndrew Morton <[email protected]>2022-11-08 17:37:19 -0800
commit93d38b72e4c1a518f46fd6dfcb5ad7c5003fa372 (patch)
treebf49428d1576079e19e6d44445cecf22fba64e9c /arch/nios2/include/asm/processor.h
parentc5255b421fd04ba6a405809b7216a3b6ebd5493a (diff)
nios2: remove unused INIT_MMAP
Patch series "mm: cleanup with VM_ACCESS_FLAGS". This patch (of 5): It seems that INIT_MMAP is gone in 2.4.10, not sure, anyways, it is useless now, kill it. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kefeng Wang <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Jarkko Sakkinen <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: David Airlie <[email protected]> Cc: "Pan, Xinhui" <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/nios2/include/asm/processor.h')
-rw-r--r--arch/nios2/include/asm/processor.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/nios2/include/asm/processor.h b/arch/nios2/include/asm/processor.h
index 8916d93d5c2d..eb44130364a9 100644
--- a/arch/nios2/include/asm/processor.h
+++ b/arch/nios2/include/asm/processor.h
@@ -50,9 +50,6 @@ struct thread_struct {
unsigned long kpsr;
};
-#define INIT_MMAP \
- { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC }
-
# define INIT_THREAD { \
.kregs = NULL, \
.ksp = 0, \