aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6.9-xen-sparse
diff options
context:
space:
mode:
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>2004-11-13 09:59:35 +0000
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>2004-11-13 09:59:35 +0000
commit231d079a6c041efca7a65b496cc34b11678b5b8b (patch)
tree18860a968bdcbeee4d2c4f6f5ee98409711eb9c5 /linux-2.6.9-xen-sparse
parent0a824ad1cd11db4ccca74c9c23be23f8ab618766 (diff)
downloadxen-231d079a6c041efca7a65b496cc34b11678b5b8b.tar.gz
xen-231d079a6c041efca7a65b496cc34b11678b5b8b.tar.bz2
xen-231d079a6c041efca7a65b496cc34b11678b5b8b.zip
bitkeeper revision 1.1159.168.3 (4195db072g989tWZuoaN1ovNwoEBjQ)
Declare evtchn_do_upcall with asmlinkage for CONFIG_REGPARM.
Diffstat (limited to 'linux-2.6.9-xen-sparse')
-rw-r--r--linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c2
-rw-r--r--linux-2.6.9-xen-sparse/include/asm-xen/evtchn.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c b/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c
index 28dca535d9..0041caa9bf 100644
--- a/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c
+++ b/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c
@@ -82,7 +82,7 @@ void force_evtchn_callback(void)
(void)HYPERVISOR_xen_version(0);
}
-void evtchn_do_upcall(struct pt_regs *regs)
+asmlinkage void evtchn_do_upcall(struct pt_regs *regs)
{
unsigned long l1, l2;
unsigned int l1i, l2i, port;
diff --git a/linux-2.6.9-xen-sparse/include/asm-xen/evtchn.h b/linux-2.6.9-xen-sparse/include/asm-xen/evtchn.h
index bf27321263..a4930a09d5 100644
--- a/linux-2.6.9-xen-sparse/include/asm-xen/evtchn.h
+++ b/linux-2.6.9-xen-sparse/include/asm-xen/evtchn.h
@@ -48,7 +48,7 @@ void force_evtchn_callback(void);
void evtchn_do_upcall(struct pt_regs *regs);
/* Entry point for notifications into the userland character device. */
-void evtchn_device_upcall(int port);
+asmlinkage void evtchn_device_upcall(int port);
static inline void mask_evtchn(int port)
{