From: "Jan Beulich" Subject: Re: [PATCH] x86/boot: Remove stack segment parameter from smpboot. Date: Fri, 16 Aug 2013 10:45:13 +0100 Message-ID: <520E10C902000078000EC867@nat28.tlf.novell.com> References: <1376589651-19586-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VAGaq-0002xM-OI for xen-devel@lists.xenproject.org; Fri, 16 Aug 2013 09:45:16 +0000 In-Reply-To: <1376589651-19586-1-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 15.08.13 at 20:00, Andrew Cooper wrote: > The stack segment is legacy remnant of a 32bit hypervisor, and not used in > 64bit. Furthermore, the unsigned short in the structure actually aliases > whatever the linker decides to put next in the data section. > > Drop the extern struct definition and change it to a simple void pointer, > which matches its definition in arch/x86/boot/x86_64.S I'll commit this, but I think we could go further and eliminate stack_start altogether - the boot code can load %rsp from stack_base[] quite fine I would think. Jan