diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-30 15:25:09 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-30 15:25:09 +0100 |
commit | fb044093f641aac7f7594e866e07733df64898e6 (patch) | |
tree | d1e4c4ef422b3709761fd9f8faf6094166892f91 | |
parent | 24c47cc1823835769847d3f71bed41e9ea22101d (diff) | |
download | xen-fb044093f641aac7f7594e866e07733df64898e6.tar.gz xen-fb044093f641aac7f7594e866e07733df64898e6.tar.bz2 xen-fb044093f641aac7f7594e866e07733df64898e6.zip |
grant_table: Remove compat-shim BUG_ON() which can fail if
GMFN==INVALID (~0UL).
Found by Diego Ongaro <diego.ongaro@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-rw-r--r-- | xen/common/compat/grant_table.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); \ } \ } \ |