From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Fix asmlinkage functions Date: Wed, 20 Jun 2012 09:42:50 +0100 Message-ID: References: <20120620081258.GA2521@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120620081258.GA2521@wavehammer.waldi.eu.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bastian Blank , xen-devel@lists.xen.org Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org On 20/06/2012 09:12, "Bastian Blank" wrote: > On Wed, Jun 20, 2012 at 08:59:55AM +0100, Jan Beulich wrote: >> Iirc Keir had already taken steps towards removing all the >> (pointless) asmlinkage annotations, so if there are any left I >> think we'd rather see them removed than made consistent. > > I see a lot of them and always not on both declaration and definition. Most of the below are in arch/arm, no relevance to x86. The few others are acceptable, only acpi_enter_sleep_state() has a 'non-matching' definition in arch/x86, but of course x86 asmlinkage is a no-op so it's fine. I have backported my xen-unstable patch to 4.0 and 4.1, so you should find those trees build okay now. -- Keir > | xen/arch/arm/traps.c:asmlinkage void __div0(void) > | xen/arch/arm/traps.c:asmlinkage void do_trap_undefined_instruction(struct > cpu_user_regs *regs) > | xen/arch/arm/traps.c:asmlinkage void do_trap_supervisor_call(struct > cpu_user_regs *regs) > | xen/arch/arm/traps.c:asmlinkage void do_trap_prefetch_abort(struct > cpu_user_regs *regs) > | xen/arch/arm/traps.c:asmlinkage void do_trap_data_abort(struct cpu_user_regs > *regs) > | xen/arch/arm/traps.c:asmlinkage void do_trap_hypervisor(struct cpu_user_regs > *regs) > | xen/arch/arm/traps.c:asmlinkage void do_trap_irq(struct cpu_user_regs *regs) > | xen/arch/arm/traps.c:asmlinkage void do_trap_fiq(struct cpu_user_regs *regs) > | xen/arch/arm/traps.c:asmlinkage void leave_hypervisor_tail(void) > | xen/common/softirq.c:asmlinkage void do_softirq(void) > | xen/include/acpi/acpixf.h:acpi_status asmlinkage acpi_enter_sleep_state(u8 > sleep_state); > | xen/include/acpi/acpixf.h:acpi_status asmlinkage > acpi_enter_sleep_state_s4bios(void); > | xen/include/xen/softirq.h:asmlinkage void do_softirq(void); > > It is not longer problematic because asmlinkage is always defined > empty, but it is still there. > > Bastian