* [PATCH] x86: drop leftover uses of regparm attribute
@ 2016-09-01 9:08 Jan Beulich
2016-09-01 9:50 ` Andrew Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2016-09-01 9:08 UTC (permalink / raw)
To: xen-devel; +Cc: Andrew Cooper
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
These were relevant only for 32-bit builds on Xen.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/traps.c
+++ b/xen/arch/x86/traps.c
@@ -2200,10 +2200,8 @@ void guest_io_write(unsigned int port, u
}
/* 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);
@@ -2262,7 +2260,7 @@ static int emulate_privileged_op(struct
: (*(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;
[-- Attachment #2: x86-drop-regparm.patch --]
[-- Type: text/plain, Size: 1100 bytes --]
x86: drop leftover uses of regparm attribute
These were relevant only for 32-bit builds on Xen.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/traps.c
+++ b/xen/arch/x86/traps.c
@@ -2200,10 +2200,8 @@ void guest_io_write(unsigned int port, u
}
/* 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);
@@ -2262,7 +2260,7 @@ static int emulate_privileged_op(struct
: (*(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;
[-- Attachment #3: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86: drop leftover uses of regparm attribute
2016-09-01 9:08 [PATCH] x86: drop leftover uses of regparm attribute Jan Beulich
@ 2016-09-01 9:50 ` Andrew Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2016-09-01 9:50 UTC (permalink / raw)
To: Jan Beulich, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 198 bytes --]
On 01/09/16 10:08, Jan Beulich wrote:
> These were relevant only for 32-bit builds on Xen.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
[-- Attachment #1.2: Type: text/html, Size: 753 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-01 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01 9:08 [PATCH] x86: drop leftover uses of regparm attribute Jan Beulich
2016-09-01 9:50 ` Andrew Cooper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.