| From: Kefeng Wang <wangkefeng.wang@huawei.com> |
| Subject: nios2: remove unused INIT_MMAP |
| Date: Wed, 19 Oct 2022 11:49:41 +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 | 3 --- |
| 1 file changed, 3 deletions(-) |
| |
| --- a/arch/nios2/include/asm/processor.h~nios2-remove-unused-init_mmap |
| +++ a/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, \ |
| _ |