
11 Dec
2018
11 Dec
'18
12:52 a.m.
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote:
With current csr_xxx ops, we cannot pass a macro to parameter 'csr', hence we need add another level to allow the parameter to be a macro itself, aka indirect stringification.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
Changes in v2:
- new patch to add indirect stringification to csr_xxx ops
arch/riscv/include/asm/csr.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
Reviewed-by: Lukas Auer lukas.auer@aisec.fraunhofer.de