From: PUCCETTI Armand <armand.puccetti@cea.fr>
To: xen-devel@lists.xensource.com
Subject: incompatible prototypes
Date: Fri, 27 Apr 2007 10:23:47 +0200 [thread overview]
Message-ID: <4631B313.1040006@cea.fr> (raw)
In XEN 3.0.3, some functions have prototypes incompatible with their
body:
- prototype fct "asmlinkage void do_nmi(struct cpu_user_regs *regs)"
in svm.c:57 is incompatible with body in traps.c:1608
- same for fct "do_memory_op" in hypercall.h:46 and memory.c:511 resp.
- same for functions "cyrix_init_mtrr", "centaur_init_mtrr" and
"amd_init_mtrr"
perhaps due to porting from x86 to x86_64...
Also, it seems that in the declaration part (file vmx.c:1966) of the
following fct, some
extern are missing, and that the functions smp_event_check_interrupt and
smp_call_function_interrupt
are also incompatible with their body (in file smp.c:326 and smp.c:332)
static inline void vmx_vmexit_do_extint(struct cpu_user_regs *regs)
{
unsigned int vector;
int error;
asmlinkage void do_IRQ(struct cpu_user_regs *);
fastcall void smp_apic_timer_interrupt(struct cpu_user_regs *);
extern fastcall void smp_event_check_interrupt(void);
fastcall void smp_invalidate_interrupt(void);
extern fastcall void smp_call_function_interrupt(void);
fastcall void smp_spurious_interrupt(struct cpu_user_regs *regs);
fastcall void smp_error_interrupt(struct cpu_user_regs *regs);
...
Armand
next reply other threads:[~2007-04-27 8:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-27 8:23 PUCCETTI Armand [this message]
2007-04-27 8:34 ` incompatible prototypes Keir Fraser
2007-04-27 15:51 ` PUCCETTI Armand
2007-04-27 16:09 ` Keir Fraser
2007-04-27 16:18 ` Jeremy Fitzhardinge
2007-04-27 16:22 ` Keir Fraser
2007-04-27 16:40 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4631B313.1040006@cea.fr \
--to=armand.puccetti@cea.fr \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.