nios2: remove unused INIT_MMAP
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 19 Oct 2022 03:49:41 +0000 (11:49 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 9 Nov 2022 01:37:19 +0000 (17:37 -0800)
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/20221019034945.93081-1-wangkefeng.wang@huawei.com
Link: https://lkml.kernel.org/r/20221019034945.93081-2-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@gmail.com>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/nios2/include/asm/processor.h

index 8916d93d5c2d0ba37dae84bf47979c3a21131838..eb44130364a9a16e4d6e32a64f1e99e8bff4d501 100644 (file)
@@ -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,                    \