From fb044093f641aac7f7594e866e07733df64898e6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 30 Jul 2008 15:25:09 +0100 Subject: grant_table: Remove compat-shim BUG_ON() which can fail if GMFN==INVALID (~0UL). Found by Diego Ongaro Signed-off-by: Keir Fraser --- xen/common/compat/grant_table.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/common/compat/grant_table.c b/xen/common/compat/grant_table.c index fa4322e77d..f3a6d93776 100644 --- a/xen/common/compat/grant_table.c +++ b/xen/common/compat/grant_table.c @@ -138,7 +138,6 @@ int compat_grant_table_op(unsigned int cmd, for ( i = 0; i < (_s_)->nr_frames; ++i ) \ { \ unsigned int frame = (_s_)->frame_list.p[i]; \ - BUG_ON(frame != (_s_)->frame_list.p[i]); \ (void)__copy_to_compat_offset((_d_)->frame_list, i, &frame, 1); \ } \ } \ -- cgit v1.2.3