From: Keir Fraser Subject: Re: [PATCH][LINUX] use machine_emergency_restart() from the generic header. Date: Tue, 08 Aug 2006 09:46:48 +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 , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7/8/06 6:20 pm, "Jimi Xenidis" wrote: > > This patch uses the standard generic header for the definition of > machine_emergency_restart() and reverses the call path for XenoLinux. It doesn't reverse the call path, it removes machine_emergency_restart() entirely from drivers/xen/core/reboot.c. Hence the kernel no longer builds. What is wrong with the code as it is? It follows the call order of the arch-specific reboot.c (e.g., arch/i386/kernel/reboot.c). -- Keir