From: Ingo Molnar <mingo@elte.hu>
To: Marcelo Abreu <skewer@terra.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test2-mm3
Date: Sun, 3 Aug 2003 17:59:18 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.44.0308031758410.27587-100000@localhost.localdomain> (raw)
In-Reply-To: <3F2D2686.308@terra.com.br>
On Sun, 3 Aug 2003, Marcelo Abreu wrote:
> The 4G patch has changed the 'ldt' member of mm_context_t, calling
> it 'ldt_pages'. Patch from Raphael fixes fpu_system.h for correct
> compilation, but system won't boot with 'no387' parameter. So semantics
> must have been changed too.
i sent the correct patch to Andrew already:
--- linux/arch/i386/math-emu/fpu_system.h.orig
+++ linux/arch/i386/math-emu/fpu_system.h
@@ -15,6 +15,7 @@
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
+#include <asm/atomic_kmap.h>
/* This sets the pointer FPU_info to point to the argument part
of the stack frame of math_emulate() */
@@ -22,7 +23,7 @@
/* s is always from a cpu register, and the cpu does bounds checking
* during register load --> no further bounds checks needed */
-#define LDT_DESCRIPTOR(s) (((struct desc_struct *)current->mm->context.ldt)[(s) >> 3])
+#define LDT_DESCRIPTOR(s) (((struct desc_struct *)__kmap_atomic_vaddr(KM_LDT_PAGE0))[(s) >> 3])
#define SEG_D_SIZE(x) ((x).b & (3 << 21))
#define SEG_G_BIT(x) ((x).b & (1 << 23))
#define SEG_GRANULARITY(x) (((x).b & (1 << 23)) ? 4096 : 1)
next prev parent reply other threads:[~2003-08-03 16:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-03 2:57 2.6.0-test2-mm3 Raphael Kubo da Costa
2003-08-03 10:36 ` 2.6.0-test2-mm3 Jose Luis Domingo Lopez
2003-08-03 15:13 ` 2.6.0-test2-mm3 Marcelo Abreu
2003-08-03 15:59 ` Ingo Molnar [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-08-02 22:22 2.6.0-test2-mm3 Andrew Morton
2003-08-02 22:31 ` 2.6.0-test2-mm3 bert hubert
2003-08-02 23:42 ` 2.6.0-test2-mm3 Andrew Morton
2003-08-03 7:38 ` 2.6.0-test2-mm3 William Lee Irwin III
2003-08-04 12:10 ` 2.6.0-test2-mm3 jlnance
2003-08-03 0:11 ` 2.6.0-test2-mm3 William Lee Irwin III
2003-08-03 2:14 ` 2.6.0-test2-mm3 William Lee Irwin III
2003-08-03 1:49 ` 2.6.0-test2-mm3 Felipe Alfaro Solana
2003-08-03 2:00 ` 2.6.0-test2-mm3 Andrew Morton
2003-08-03 2:03 ` 2.6.0-test2-mm3 Felipe Alfaro Solana
2003-08-03 5:07 ` 2.6.0-test2-mm3 Zwane Mwaikambo
2003-08-03 5:28 ` 2.6.0-test2-mm3 Andrew Morton
2003-08-03 5:22 ` 2.6.0-test2-mm3 Zwane Mwaikambo
2003-08-03 5:38 ` 2.6.0-test2-mm3 Joshua Kwan
2003-08-03 5:48 ` 2.6.0-test2-mm3 Zwane Mwaikambo
2003-08-03 7:05 ` 2.6.0-test2-mm3 Danek Duvall
2003-08-03 7:15 ` 2.6.0-test2-mm3 Eugene Teo
2003-08-03 7:28 ` 2.6.0-test2-mm3 Danek Duvall
2003-08-03 7:44 ` 2.6.0-test2-mm3 Eugene Teo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0308031758410.27587-100000@localhost.localdomain \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=skewer@terra.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).