diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-09-09 16:32:25 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-09-09 16:32:25 +0100 |
commit | e94d4918b566ec94711b98b888a7f172718a6fb6 (patch) | |
tree | 35af17c666264122f8f82c5d34ea0241d686f19c /xen/common/page_alloc.c | |
parent | d51e2923310d219d1a2ef3a508dc252d74713763 (diff) | |
download | xen-e94d4918b566ec94711b98b888a7f172718a6fb6.tar.gz xen-e94d4918b566ec94711b98b888a7f172718a6fb6.tar.bz2 xen-e94d4918b566ec94711b98b888a7f172718a6fb6.zip |
Fix an obviously inverted check in offline_page()
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/page_alloc.c')
-rw-r--r-- | xen/common/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 29e10759a3..395732dee5 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -610,7 +610,7 @@ int offline_page(unsigned long mfn, int broken, uint32_t *status) int ret = 0; struct page_info *pg; - if ( mfn_valid(mfn) ) + if ( !mfn_valid(mfn) ) { dprintk(XENLOG_WARNING, "try to offline page out of range %lx\n", mfn); |