WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] xen: do_set_trap_table()'s argument c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen: do_set_trap_table()'s argument can be const
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jan 2008 16:30:12 -0800
Delivery-date: Fri, 18 Jan 2008 16:31:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200672856 0
# Node ID 577f5e925da38574bd5ec04e7629ac88616a490e
# Parent  dfb227e56a7279bb973f01c5f9047e114a11d14c
xen: do_set_trap_table()'s argument can be const
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 arch/i386/kernel/traps-xen.c                |    2 +-
 arch/x86_64/kernel/traps-xen.c              |    2 +-
 include/asm-i386/mach-xen/asm/hypercall.h   |    2 +-
 include/asm-x86_64/mach-xen/asm/hypercall.h |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff -r dfb227e56a72 -r 577f5e925da3 arch/i386/kernel/traps-xen.c
--- a/arch/i386/kernel/traps-xen.c      Fri Jan 18 16:13:24 2008 +0000
+++ b/arch/i386/kernel/traps-xen.c      Fri Jan 18 16:14:16 2008 +0000
@@ -1153,7 +1153,7 @@ void __init trap_init(void)
 
 void smp_trap_init(trap_info_t *trap_ctxt)
 {
-       trap_info_t *t = trap_table;
+       const trap_info_t *t = trap_table;
 
        for (t = trap_table; t->address; t++) {
                trap_ctxt[t->vector].flags = t->flags;
diff -r dfb227e56a72 -r 577f5e925da3 arch/x86_64/kernel/traps-xen.c
--- a/arch/x86_64/kernel/traps-xen.c    Fri Jan 18 16:13:24 2008 +0000
+++ b/arch/x86_64/kernel/traps-xen.c    Fri Jan 18 16:14:16 2008 +0000
@@ -1133,7 +1133,7 @@ void __init trap_init(void)
 
 void smp_trap_init(trap_info_t *trap_ctxt)
 {
-       trap_info_t *t = trap_table;
+       const trap_info_t *t = trap_table;
 
        for (t = trap_table; t->address; t++) {
                trap_ctxt[t->vector].flags = t->flags;
diff -r dfb227e56a72 -r 577f5e925da3 include/asm-i386/mach-xen/asm/hypercall.h
--- a/include/asm-i386/mach-xen/asm/hypercall.h Fri Jan 18 16:13:24 2008 +0000
+++ b/include/asm-i386/mach-xen/asm/hypercall.h Fri Jan 18 16:14:16 2008 +0000
@@ -128,7 +128,7 @@
 
 static inline int
 HYPERVISOR_set_trap_table(
-       trap_info_t *table)
+       const trap_info_t *table)
 {
        return _hypercall1(int, set_trap_table, table);
 }
diff -r dfb227e56a72 -r 577f5e925da3 include/asm-x86_64/mach-xen/asm/hypercall.h
--- a/include/asm-x86_64/mach-xen/asm/hypercall.h       Fri Jan 18 16:13:24 
2008 +0000
+++ b/include/asm-x86_64/mach-xen/asm/hypercall.h       Fri Jan 18 16:14:16 
2008 +0000
@@ -134,7 +134,7 @@
 
 static inline int
 HYPERVISOR_set_trap_table(
-       trap_info_t *table)
+       const trap_info_t *table)
 {
        return _hypercall1(int, set_trap_table, table);
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen: do_set_trap_table()'s argument can be const, Xen patchbot-linux-2.6.18-xen <=