[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: drop leftover uses of regparm attribute
commit a4f39a6450abe5207cb33f877b4b6cd5db8a6cca Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Thu Sep 1 15:24:20 2016 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Sep 1 15:24:20 2016 +0200 x86: drop leftover uses of regparm attribute These were relevant only for 32-bit builds on Xen. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/traps.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 98e7018..992ba23 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; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |