]> xenbits.xensource.com Git - xen.git/commit
x86/mem_access: check for errors in p2m->set_entry().
authorTim Deegan <tim@xen.org>
Thu, 7 Mar 2013 14:23:05 +0000 (14:23 +0000)
committerTim Deegan <tim@xen.org>
Thu, 14 Mar 2013 10:36:01 +0000 (10:36 +0000)
commit225a09cda45ab1f381fe30a9fab74a584effd66c
tree6a5aca2cce0730168dd8750739dc91cdc3487b71
parent1ab3eea9d8873cb0c60e59d55a89c2f1842a5063
x86/mem_access: check for errors in p2m->set_entry().

These calls ought always to succeed.  Assert that they do rather than
ignoring the return value.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Aravindh Puthiyaparambil <aravindh@virtuata.com>
xen/arch/x86/mm/p2m.c