diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-03 19:37:51 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:49:27 -0700 |
commit | 4c70cf07cecab1dd5446249dc8d4795bec693c78 (patch) | |
tree | a8b2399f86866ac905bc0a7d86048e4b79442bbf /arch/arm/include/asm/virt.h | |
parent | cf763e4ede9deca45c83d7a59c8e798c4d079da2 (diff) | |
download | op-kernel-dev-4c70cf07cecab1dd5446249dc8d4795bec693c78.zip op-kernel-dev-4c70cf07cecab1dd5446249dc8d4795bec693c78.tar.gz |
ARM: hyp-stub: Define a return value for failed stub calls
Define a standard return value to be returned when a hyp stub
call fails.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/virt.h')
-rw-r--r-- | arch/arm/include/asm/virt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/virt.h b/arch/arm/include/asm/virt.h index 4ea16fc..c16f70d 100644 --- a/arch/arm/include/asm/virt.h +++ b/arch/arm/include/asm/virt.h @@ -104,4 +104,6 @@ extern char __hyp_text_end[]; #endif /* __ASSEMBLY__ */ +#define HVC_STUB_ERR 0xbadca11 + #endif /* ! VIRT_H */ |