OSDN Git Service

riscv: cleanup the parse_dtb calling conventions
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Apr 2019 09:14:38 +0000 (11:14 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 25 Apr 2019 21:51:11 +0000 (14:51 -0700)
commitba9c0141941ce618b04361a772c92a4da6dfcb35
tree3e6ce6a474ce9e4c53a2fc9501b2ed224890331b
parentc637b911e0669753ba85f8d61f10ca4b8f441dd3
riscv: cleanup the parse_dtb calling conventions

No need to pass the hartid, and the dtb address passed is a physical
address, so don't pretend it is a kernel pointer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/head.S
arch/riscv/kernel/setup.c