ia64/xen-unstable
changeset 18620:a26194601c8f
x86: propagate return value of alloc_l1_table()
A blatant mistake of mine resulted in the return value of
alloc_l1_table() to be ignored with the preemptable page table update
changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
A blatant mistake of mine resulted in the return value of
alloc_l1_table() to be ignored with the preemptable page table update
changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Mon Oct 13 13:15:20 2008 +0100 (2008-10-13) |
parents | e4bddd01cb3e |
children | 8d993552673a |
files | xen/arch/x86/mm.c |
line diff
1.1 --- a/xen/arch/x86/mm.c Mon Oct 13 10:09:09 2008 +0100 1.2 +++ b/xen/arch/x86/mm.c Mon Oct 13 13:15:20 2008 +0100 1.3 @@ -1883,8 +1883,7 @@ static int alloc_page_type(struct page_i 1.4 switch ( type & PGT_type_mask ) 1.5 { 1.6 case PGT_l1_page_table: 1.7 - alloc_l1_table(page); 1.8 - rc = 0; 1.9 + rc = alloc_l1_table(page); 1.10 break; 1.11 case PGT_l2_page_table: 1.12 rc = alloc_l2_table(page, type, preemptible);