diff options
author | Keir Fraser <keir@xen.org> | 2012-03-09 09:58:41 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-03-09 09:58:41 +0000 |
commit | 69b701b237fcc0f1da918b1832891ba4d80c880a (patch) | |
tree | 9797a0176506c909cdd579f0596055e1bbd5f93a /xen/common/page_alloc.c | |
parent | 90b6e6c88983250742e1356d7178a6d4e683fa80 (diff) | |
download | xen-69b701b237fcc0f1da918b1832891ba4d80c880a.tar.gz xen-69b701b237fcc0f1da918b1832891ba4d80c880a.tar.bz2 xen-69b701b237fcc0f1da918b1832891ba4d80c880a.zip |
low-mem virq: Parentheses around ternary operator in check_low_mem_virq()
Signed-off-by: Keir Fraser <keir@xen.org>
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 e3b84f9557..75d1eeae98 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -374,7 +374,7 @@ static void __init setup_low_mem_virq(void) static void check_low_mem_virq(void) { unsigned long avail_pages = total_avail_pages + - opt_tmem ? tmem_freeable_pages() : 0; + (opt_tmem ? tmem_freeable_pages() : 0); if ( unlikely(avail_pages <= low_mem_virq_th) ) { |