projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57db05
)
xen: arm: fix assert in select_user_reg
author
Ian Campbell
<ian.campbell@citrix.com>
Thu, 17 Jan 2013 16:48:25 +0000
(16:48 +0000)
committer
Ian Campbell
<ian.campbell@citrix.com>
Thu, 17 Jan 2013 16:48:25 +0000
(16:48 +0000)
The condition was inverted.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/traps.c
b/xen/arch/arm/traps.c
index f42e4e91fe56b0fdcb04826ac5f9593d9b8a1b2d..8afcf0c4ab93e771a7af6d9016a6b2c20877cc5b 100644
(file)
--- a/
xen/arch/arm/traps.c
+++ b/
xen/arch/arm/traps.c
@@
-75,7
+75,7
@@
static void print_xen_info(void)
uint32_t *select_user_reg(struct cpu_user_regs *regs, int reg)
{
- BUG_ON( guest_mode(regs) );
+ BUG_ON(
!
guest_mode(regs) );
/*
* We rely heavily on the layout of cpu_user_regs to avoid having