lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] x86: fix miscompile
From
Date
This patch local to the x86 tree introduced a fairly obvious compile
fault:

commit f22fc9998497af6c271385e2025e2fe71c6f15b0
Author: Ingo Molnar <mingo@elte.hu>
Date: Wed Apr 2 12:20:18 2008 +0200

x86: allocate FPU context to init task

I've attached the fix below (INIT_THREAD is a #defined initializer, not
an actual structure). However, if you get this tree into linux-next,
they'll do a much better job of shaking out bugs like this than I could.

James

---

diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h
index d4686cf..2fad98d 100644
--- a/include/asm-x86/processor.h
+++ b/include/asm-x86/processor.h
@@ -828,7 +828,7 @@ extern union thread_xstate init_xstate;
.sysenter_cs = __KERNEL_CS, \
.io_bitmap_ptr = NULL, \
.fs = __KERNEL_PERCPU, \
- .xstate = &init_xstate;
+ .xstate = &init_xstate, \
}

/*



\
 
 \ /
  Last update: 2008-04-03 16:57    [W:0.306 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site