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

Re: [Xen-devel] [PATCH][LINUX] use machine_emergency_restart() from the generic header.


  • To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Tue, 08 Aug 2006 13:26:40 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 08 Aug 2006 05:27:03 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aca65eZCJJ7bkCbZEduaRAAKle7CWA==
  • Thread-topic: [Xen-devel] [PATCH][LINUX] use machine_emergency_restart() from the generic header.



On 8/8/06 12:49 pm, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:

> I have a linker problem building this file in POWERPC as you may
> suspect.
> The ./driver/xen/ file is more like the other archs than x86, and
> should be more portable.
> 
> Not sure what header magik would be needed here, if you think its
> worthwhile I'll pursue it.

You could switch the call order in drivers/xen/core/reboot.c so that
machine_emergency_restart calls machine_restart, and then conditionally
compile the former only for x86. Not super nice but it's at least
straightforward. I'd take a patch that did that.

 -- Keir



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


 


Rackspace

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