From 69b701b237fcc0f1da918b1832891ba4d80c880a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 9 Mar 2012 09:58:41 +0000 Subject: [PATCH] low-mem virq: Parentheses around ternary operator in check_low_mem_virq() Signed-off-by: Keir Fraser --- xen/common/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) { -- 2.30.2