diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2013-04-26 14:16:31 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-26 15:56:32 +0100 |
commit | f2f34db831d33e9121535b00c46633e8d4664758 (patch) | |
tree | 7e20d83d93fd3c7403e21cd70051ab3920ac9c81 | |
parent | 0114d259ebcd1f87966e2849f6ac1af8d9dd89c5 (diff) | |
download | xen-f2f34db831d33e9121535b00c46633e8d4664758.tar.gz xen-f2f34db831d33e9121535b00c46633e8d4664758.tar.bz2 xen-f2f34db831d33e9121535b00c46633e8d4664758.zip |
xen/arm: Fix return value when write is ignored in VGIC
If a write is ignored, the function should return success.
Currently Xen will throw a data abort exception if the write in VGIC is
ignored.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
-rw-r--r-- | xen/arch/arm/vgic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c index 4d8da0242e..a984621e89 100644 --- a/xen/arch/arm/vgic.c +++ b/xen/arch/arm/vgic.c @@ -550,7 +550,7 @@ bad_width: write_ignore: if ( dabt.size != 2 ) goto bad_width; - return 0; + return 1; } static int vgic_distr_mmio_check(struct vcpu *v, paddr_t addr) |