From: Jan Beulich Date: Thu, 1 Sep 2016 13:24:20 +0000 (+0200) Subject: x86: drop leftover uses of regparm attribute X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~493 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a4f39a6450abe5207cb33f877b4b6cd5db8a6cca;p=xen.git x86: drop leftover uses of regparm attribute These were relevant only for 32-bit builds on Xen. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 98e7018b15..992ba23f50 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -2206,10 +2206,8 @@ void guest_io_write(unsigned int port, unsigned int bytes, uint32_t data, } /* I/O emulation support. Helper routines for, and type of, the stack stub.*/ -void host_to_guest_gpr_switch(struct cpu_user_regs *) - __attribute__((__regparm__(1))); -unsigned long guest_to_host_gpr_switch(unsigned long) - __attribute__((__regparm__(1))); +void host_to_guest_gpr_switch(struct cpu_user_regs *); +unsigned long guest_to_host_gpr_switch(unsigned long); void (*pv_post_outb_hook)(unsigned int port, u8 value); @@ -2268,7 +2266,7 @@ static int emulate_privileged_op(struct cpu_user_regs *regs) : (*(u16 *)®s->reg = (val))) unsigned long code_base, code_limit; char *io_emul_stub = NULL; - void (*io_emul)(struct cpu_user_regs *) __attribute__((__regparm__(1))); + void (*io_emul)(struct cpu_user_regs *); uint64_t val; bool_t vpmu_msr;