riscv: mm: Drop redundant _sdata and _edata declaration
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 14 May 2021 09:49:08 +0000 (17:49 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 26 May 2021 05:50:51 +0000 (22:50 -0700)
commit50bae95e17c6dd0b7a2a3a92ad8808067234e9ef
tree765ff724c03b36cfedbdfee4882b8138c30c2ddb
parentf842f5ff6aafc2752580ed99ee757652c08684e7
riscv: mm: Drop redundant _sdata and _edata declaration

The _sdata/_edata is already in sections.h, drop redundant
declaration.

Also move _xiprom/_exiprom declarations at the beginning of
the file, cleanup one CONFIG_XIP_KERNEL.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/init.c