提交 b60c0204 编写于 作者: H He Sheng 提交者: guzitao

sw64: fix compile error for CONFIG_RRU=y

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56QAM

--------------------------------
Signed-off-by: NHe Sheng <hesheng@wxiat.com>
Reviewed-by: NCui Wei <cuiwei@wxiat.com>
Signed-off-by: NGu Zitao <guzitao@wxiat.com>
上级 df4a7a48
......@@ -52,6 +52,8 @@ int sw64_printk(const char *fmt, va_list args)
#endif
#ifdef CONFIG_SW64_RRU
#include<linux/uaccess.h>
static DEFINE_SPINLOCK(printf_lock);
#define USER_PRINT_BUFF_BASE (0x600000UL + __START_KERNEL_map)
#define USER_PRINT_BUFF_LEN 0x100000UL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册