riscv: define function set_gd()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Sep 2020 05:47:39 +0000 (07:47 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 14 Sep 2020 21:28:52 +0000 (23:28 +0200)
commit6b9966e1aa362e97e9b33b7b82ff713f2ddea2c1
tree14e78259abcd6048df08632b5aaba134beb80db4
parente5a31376acdd3f07a08be4433d9113ba61319204
riscv: define function set_gd()

Function set_gd() is needed in the UEFI sub-system if the global data
pointer is stored in a register.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/riscv/include/asm/global_data.h