ia64/xen-unstable
changeset 13173:bbd1c469ff5b
[XEN] Add const attribute to elf_sanity_check() parameter on all arches.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Sat Dec 23 09:40:18 2006 +0000 (2006-12-23) |
parents | 36e33da5146b |
children | e60644c61371 |
files | xen/arch/ia64/xen/domain.c xen/arch/powerpc/domain_build.c |
line diff
1.1 --- a/xen/arch/ia64/xen/domain.c Sat Dec 23 09:38:07 2006 +0000 1.2 +++ b/xen/arch/ia64/xen/domain.c Sat Dec 23 09:40:18 2006 +0000 1.3 @@ -867,7 +867,7 @@ int shadow_mode_control(struct domain *d 1.4 #endif 1.5 1.6 // see arch/x86/xxx/domain_build.c 1.7 -int elf_sanity_check(Elf_Ehdr *ehdr) 1.8 +int elf_sanity_check(const Elf_Ehdr *ehdr) 1.9 { 1.10 if (!(IS_ELF(*ehdr))) 1.11 {
2.1 --- a/xen/arch/powerpc/domain_build.c Sat Dec 23 09:38:07 2006 +0000 2.2 +++ b/xen/arch/powerpc/domain_build.c Sat Dec 23 09:40:18 2006 +0000 2.3 @@ -51,7 +51,7 @@ integer_param("dom0_max_vcpus", opt_dom0 2.4 static unsigned int opt_dom0_shadow; 2.5 boolean_param("dom0_shadow", opt_dom0_shadow); 2.6 2.7 -int elf_sanity_check(Elf_Ehdr *ehdr) 2.8 +int elf_sanity_check(const Elf_Ehdr *ehdr) 2.9 { 2.10 if (IS_ELF(*ehdr)) 2.11 /* we are happy with either */