[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Add const attribute to elf_sanity_check() parameter on all arches.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Date 1166866818 0
# Node ID bbd1c469ff5b17170fa657f21817aaa0d19dd7fd
# Parent  36e33da5146bef9109723bb96a356d1fca14496e
[XEN] Add const attribute to elf_sanity_check() parameter on all arches.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/domain.c      |    2 +-
 xen/arch/powerpc/domain_build.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 36e33da5146b -r bbd1c469ff5b xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Sat Dec 23 09:38:07 2006 +0000
+++ b/xen/arch/ia64/xen/domain.c        Sat Dec 23 09:40:18 2006 +0000
@@ -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 36e33da5146b -r bbd1c469ff5b xen/arch/powerpc/domain_build.c
--- a/xen/arch/powerpc/domain_build.c   Sat Dec 23 09:38:07 2006 +0000
+++ b/xen/arch/powerpc/domain_build.c   Sat Dec 23 09:40:18 2006 +0000
@@ -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 */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.