* + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree
@ 2007-01-31 0:36 akpm
2007-02-10 17:32 ` S.Çağlar Onur
0 siblings, 1 reply; 4+ messages in thread
From: akpm @ 2007-01-31 0:36 UTC (permalink / raw)
To: mm-commits; +Cc: caglar, avi, mingo
The patch titled
kvm: Fix asm constraint for lldt instruction
has been added to the -mm tree. Its filename is
kvm-fix-asm-constraint-for-lldt-instruction.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: kvm: Fix asm constraint for lldt instruction
From: S.Caglar Onur <caglar@pardus.org.tr>
lldt does not accept immediate operands, which "g" allows.
Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
drivers/kvm/kvm.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/kvm/kvm.h~kvm-fix-asm-constraint-for-lldt-instruction drivers/kvm/kvm.h
--- a/drivers/kvm/kvm.h~kvm-fix-asm-constraint-for-lldt-instruction
+++ a/drivers/kvm/kvm.h
@@ -558,7 +558,7 @@ static inline void load_gs(u16 sel)
#ifndef load_ldt
static inline void load_ldt(u16 sel)
{
- asm ("lldt %0" : : "g"(sel));
+ asm ("lldt %0" : : "rm"(sel));
}
#endif
_
Patches currently in -mm which might be from caglar@pardus.org.tr are
kvm-fix-asm-constraint-for-lldt-instruction.patch
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree
2007-01-31 0:36 + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree akpm
@ 2007-02-10 17:32 ` S.Çağlar Onur
2007-02-10 21:06 ` Andrew Morton
0 siblings, 1 reply; 4+ messages in thread
From: S.Çağlar Onur @ 2007-02-10 17:32 UTC (permalink / raw)
To: akpm; +Cc: lkml, avi, mingo, stable
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
Hi;
31 Oca 2007 Çar tarihinde, akpm@osdl.org şunları yazmıştı:
> The patch titled
> kvm: Fix asm constraint for lldt instruction
> has been added to the -mmtree. Its filename is
> kvm-fix-asm-constraint-for-lldt-instruction.patch
Is it possible to merge it into .20.1, its really trivial and its the only
compile fix for gcc-4.2.x?
Yours
--
S.Çağlar Onur <caglar@pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree
2007-02-10 17:32 ` S.Çağlar Onur
@ 2007-02-10 21:06 ` Andrew Morton
2007-02-11 6:11 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2007-02-10 21:06 UTC (permalink / raw)
To: caglar; +Cc: lkml, avi, mingo, stable
On Sat, 10 Feb 2007 19:32:30 +0200 "S.Çağlar Onur" <caglar@pardus.org.tr> wrote:
> Hi;
>
> 31 Oca 2007 Çar tarihinde, akpm@osdl.org şunları yazmıştı:
> > The patch titled
> > kvm: Fix asm constraint for lldt instruction
> > has been added to the -mmtree. Its filename is
> > kvm-fix-asm-constraint-for-lldt-instruction.patch
>
> Is it possible to merge it into .20.1, its really trivial and its the only
> compile fix for gcc-4.2.x?
>
OK by be. Avi?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree
2007-02-10 21:06 ` Andrew Morton
@ 2007-02-11 6:11 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2007-02-11 6:11 UTC (permalink / raw)
To: Andrew Morton; +Cc: caglar, lkml, mingo, stable
Andrew Morton wrote:
> On Sat, 10 Feb 2007 19:32:30 +0200 "S.Çağlar Onur" <caglar@pardus.org.tr> wrote:
>
>
>> Hi;
>>
>> 31 Oca 2007 Çar tarihinde, akpm@osdl.org şunları yazmıştı:
>>
>>> The patch titled
>>> kvm: Fix asm constraint for lldt instruction
>>> has been added to the -mmtree. Its filename is
>>> kvm-fix-asm-constraint-for-lldt-instruction.patch
>>>
>> Is it possible to merge it into .20.1, its really trivial and its the only
>> compile fix for gcc-4.2.x?
>>
>>
>
> OK by be. Avi?
>
No objections, though I'm wondering whether fixing a miscompile on an
unreleased compiler is a stability fix.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-11 6:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 0:36 + kvm-fix-asm-constraint-for-lldt-instruction.patch added to -mm tree akpm
2007-02-10 17:32 ` S.Çağlar Onur
2007-02-10 21:06 ` Andrew Morton
2007-02-11 6:11 ` Avi Kivity
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.