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

[XenPPC] [xenppc-unstable] [ppc] some OF implementations do not take kindly to closing console ihandles.



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 44317a8990db4e2cd17d88d0bcba9f67f8cd2d68
# Parent  1bb8eff867204b362e5e4aa018432959b4f64930
[ppc] some OF implementations do not take kindly to closing console ihandles.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 xen/arch/ppc/boot_of.c |   10 ----------
 1 files changed, 10 deletions(-)

diff -r 1bb8eff86720 -r 44317a8990db xen/arch/ppc/boot_of.c
--- a/xen/arch/ppc/boot_of.c    Thu Jun 08 17:20:11 2006 -0400
+++ b/xen/arch/ppc/boot_of.c    Thu Jun 08 17:42:26 2006 -0400
@@ -967,7 +967,6 @@ multiboot_info_t __init *boot_of_init(
         ulong r3, ulong r4, ulong vec, ulong r6, ulong r7, ulong orig_msr)
 {
     static multiboot_info_t mbi;
-    int of_in;
 
     of_vec = vec;
     of_msr = orig_msr;
@@ -1001,15 +1000,6 @@ multiboot_info_t __init *boot_of_init(
     boot_of_rtas();
 
     /* end of OF */
-    of_printf("closing OF stdout...\n");
-    of_call("close", 1, 0, &of_out);
-
-    of_getprop(bof_chosen, "stdin", &of_in, sizeof (of_in));
-
-    if (of_in != of_out) {
-        of_call("close", 1, 0, &of_in);
-    }
-
     of_call("quiesce", 0, 0, NULL);
 
     return &mbi;

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

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