diff options
author | Christoffer Dall <cdall@linaro.org> | 2017-04-09 17:50:34 +0300 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 17:50:34 +0300 |
commit | 5f6e00709c16b63c7a93552ed4ab2b48a0dd47ac (patch) | |
tree | 8ef11771d25b2443767591836ef0146fdec95c86 /arch/arm64/kvm/sys_regs.h | |
parent | f7214e6023c86cbb66d3ebead0b27ac1a4ebb8dc (diff) | |
parent | 7606e07856e0148e540fb67d68418400fd6b33b4 (diff) | |
download | linux-5f6e00709c16b63c7a93552ed4ab2b48a0dd47ac.tar.xz |
Merge remote-tracking branch 'rutland/kvm/common-sysreg' into next-fix
Diffstat (limited to 'arch/arm64/kvm/sys_regs.h')
-rw-r--r-- | arch/arm64/kvm/sys_regs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/kvm/sys_regs.h b/arch/arm64/kvm/sys_regs.h index 638f724e45af..060f5348ef25 100644 --- a/arch/arm64/kvm/sys_regs.h +++ b/arch/arm64/kvm/sys_regs.h @@ -129,4 +129,9 @@ const struct sys_reg_desc *find_reg_by_id(u64 id, #define CRm(_x) .CRm = _x #define Op2(_x) .Op2 = _x +#define SYS_DESC(reg) \ + Op0(sys_reg_Op0(reg)), Op1(sys_reg_Op1(reg)), \ + CRn(sys_reg_CRn(reg)), CRm(sys_reg_CRm(reg)), \ + Op2(sys_reg_Op2(reg)) + #endif /* __ARM64_KVM_SYS_REGS_LOCAL_H__ */ |