From: Keir Fraser Subject: Re: [PATCH][LINUX] use machine_emergency_restart() from the generic header. Date: Tue, 08 Aug 2006 13:26:40 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jimi Xenidis Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 8/8/06 12:49 pm, "Jimi Xenidis" 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