|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] x86: drop pointless initializer from smp_trap_init()
# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1404306558 -7200
# Node ID 19448506c371bd071312f55055e81043fc4a4e78
# Parent 930d1b2ecc2f6a145a6f95e25db8cb54a366eb69
x86: drop pointless initializer from smp_trap_init()
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
diff -r 930d1b2ecc2f -r 19448506c371 arch/i386/kernel/traps-xen.c
--- a/arch/i386/kernel/traps-xen.c Wed Jul 02 15:04:09 2014 +0200
+++ b/arch/i386/kernel/traps-xen.c Wed Jul 02 15:09:18 2014 +0200
@@ -1158,7 +1158,7 @@ void __init trap_init(void)
void __cpuinit smp_trap_init(trap_info_t *trap_ctxt)
{
- const trap_info_t *t = trap_table;
+ const trap_info_t *t;
for (t = trap_table; t->address; t++) {
trap_ctxt[t->vector].flags = t->flags;
diff -r 930d1b2ecc2f -r 19448506c371 arch/x86_64/kernel/traps-xen.c
--- a/arch/x86_64/kernel/traps-xen.c Wed Jul 02 15:04:09 2014 +0200
+++ b/arch/x86_64/kernel/traps-xen.c Wed Jul 02 15:09:18 2014 +0200
@@ -1132,7 +1132,7 @@ void __init trap_init(void)
void __cpuinit smp_trap_init(trap_info_t *trap_ctxt)
{
- const trap_info_t *t = trap_table;
+ const trap_info_t *t;
for (t = trap_table; t->address; t++) {
trap_ctxt[t->vector].flags = t->flags;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |