[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] low-mem virq: Parentheses around ternary operator in check_low_mem_virq()



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1331287121 0
# Node ID 10c5ba0b5af2dd209d4f7d27649dea5827652d9c
# Parent  04673ecb9d78ff6b0089a3befd3a86cd895bdb9e
low-mem virq: Parentheses around ternary operator in check_low_mem_virq()

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 04673ecb9d78 -r 10c5ba0b5af2 xen/common/page_alloc.c
--- a/xen/common/page_alloc.c   Thu Mar 08 16:40:05 2012 +0000
+++ b/xen/common/page_alloc.c   Fri Mar 09 09:58:41 2012 +0000
@@ -374,7 +374,7 @@
 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) )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.