projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b6e6c
)
low-mem virq: Parentheses around ternary operator in check_low_mem_virq()
author
Keir Fraser
<keir@xen.org>
Fri, 9 Mar 2012 09:58:41 +0000
(09:58 +0000)
committer
Keir Fraser
<keir@xen.org>
Fri, 9 Mar 2012 09:58:41 +0000
(09:58 +0000)
Signed-off-by: Keir Fraser <keir@xen.org>
xen/common/page_alloc.c
patch
|
blob
|
history
diff --git
a/xen/common/page_alloc.c
b/xen/common/page_alloc.c
index e3b84f95573c772fd003d8aaf7171e5fbbab3eae..75d1eeae986305809911a482d1786f872e5692f1 100644
(file)
--- 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) )
{