提交 c2c30b5b 编写于 作者: H He Chuyue 提交者: guzitao

sw64: remove useless enum

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

--------------------------------
Signed-off-by: NHe Chuyue <hechuyue@wxiat.com>
Reviewed-by: NHe Sheng <hesheng@wxiat.com>
Signed-off-by: NGu Zitao <guzitao@wxiat.com>
上级 585104c0
......@@ -46,16 +46,6 @@
* zero have no stack-slot and need to be treated specially (see
* get_reg/put_reg below).
*/
enum {
REG_R0 = 0,
REG_F0 = 32,
REG_FPCR = 63,
REG_PC = 64,
REG_SP = 30,
REG_PS = 31,
REG_GP = 29
};
#define R(x) ((size_t) &((struct pt_regs *)0)->x)
short regoffsets[32] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册