From: "Jan Beulich" Subject: Re: [PATCH v3 2/9] x86: move common_interrupt to entry.S Date: Mon, 28 Apr 2014 10:48:27 +0100 Message-ID: <535E400B020000780000CC6E@nat28.tlf.novell.com> References: <1398654879-5934-1-git-send-email-feng.wu@intel.com> <535E1EA2.7070005@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <535E1EA2.7070005@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 , Feng Wu Cc: kevin.tian@intel.com, eddie.dong@intel.com, ian.campbell@citrix.com, jun.nakajima@intel.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 28.04.14 at 11:25, wrote: > On 28/04/14 04:14, Feng Wu wrote: >> This patch moves label common_interrupt from asm_defns.h to entry.S >> >> Signed-off-by: Feng Wu > > I am fairly sure the __asm__(".section .text"); was bogus, given no > obvious special case hacks play with the sections of this file. I'm fairly sure it's needed, and - what may make things worse - only with some compiler versions: If the compiler emitted any data before processing the file scope asm()s, the code generated here would end up in that data section. Jan