All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: propagate return value of alloc_l1_table()
@ 2008-10-13 10:37 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2008-10-13 10:37 UTC (permalink / raw)
  To: xen-devel

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>

Index: 2008-09-19/xen/arch/x86/mm.c
===================================================================
--- 2008-09-19.orig/xen/arch/x86/mm.c	2008-09-19 14:00:01.000000000 +0200
+++ 2008-09-19/xen/arch/x86/mm.c	2008-10-13 12:07:13.000000000 +0200
@@ -1883,8 +1883,7 @@ static int alloc_page_type(struct page_i
     switch ( type & PGT_type_mask )
     {
     case PGT_l1_page_table:
-        alloc_l1_table(page);
-        rc = 0;
+        rc = alloc_l1_table(page);
         break;
     case PGT_l2_page_table:
         rc = alloc_l2_table(page, type, preemptible);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-13 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 10:37 [PATCH] x86: propagate return value of alloc_l1_table() Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.