From: Alex Williamson <alex.williamson@hp.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Re: [Xen-staging] [xen-unstable] Improve consistency of type-attribute usage (volatile/const).
Date: Thu, 21 Dec 2006 10:23:36 -0700 [thread overview]
Message-ID: <1166721816.5054.34.camel@bling> (raw)
In-Reply-To: <200612211400.kBLE0MXG021550@latara.uk.xensource.com>
On Thu, 2006-12-21 at 14:00 +0000, Xen staging patchbot-unstable wrote:
> # HG changeset patch
> # User kfraser@localhost.localdomain
> # Date 1166709531 0
> # Node ID 3e2d3d73762492fd03955d2574e30f535426c1ce
> # Parent e86605304e52ee2012f5812dbf3a425572e65faa
> Improve consistency of type-attribute usage (volatile/const).
All architectures define elf_sanity_check() and need to be updated
from this change. Patch below. Thanks,
Alex
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
diff -r 71c40c3f92f7 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c Thu Dec 21 16:20:11 2006 +0000
+++ b/xen/arch/ia64/xen/domain.c Thu Dec 21 10:14:11 2006 -0700
@@ -867,7 +867,7 @@ int shadow_mode_control(struct domain *d
#endif
// see arch/x86/xxx/domain_build.c
-int elf_sanity_check(Elf_Ehdr *ehdr)
+int elf_sanity_check(const Elf_Ehdr *ehdr)
{
if (!(IS_ELF(*ehdr)))
{
diff -r 71c40c3f92f7 xen/arch/powerpc/domain_build.c
--- a/xen/arch/powerpc/domain_build.c Thu Dec 21 16:20:11 2006 +0000
+++ b/xen/arch/powerpc/domain_build.c Thu Dec 21 10:15:45 2006 -0700
@@ -51,7 +51,7 @@ static unsigned int opt_dom0_shadow;
static unsigned int opt_dom0_shadow;
boolean_param("dom0_shadow", opt_dom0_shadow);
-int elf_sanity_check(Elf_Ehdr *ehdr)
+int elf_sanity_check(const Elf_Ehdr *ehdr)
{
if (IS_ELF(*ehdr))
/* we are happy with either */
parent reply other threads:[~2006-12-21 17:23 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200612211400.kBLE0MXG021550@latara.uk.xensource.com>]
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=1166721816.5054.34.camel@bling \
--to=alex.williamson@hp.com \
--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.