[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A64D06D.3040109@gmail.com>
Date: Mon, 20 Jul 2009 22:15:41 +0200
From: Uros Bizjak <ubizjak@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
CC: x86@...nel.org
Subject: Re: [PATCH, x86]: Fix movq immediate operand constraints in uaccess_64.h
On 07/19/2009 06:06 PM, Uros Bizjak wrote:
> Hello!
>
> arch/x86/include/asm/uaccess_64.h uses wrong asm operand constraint
> ("ir") for movq insn. Since movq sign-extends its immediate operand,
> "er" constraint should be used instead.
>
> Attached patch changes all uses of __put_user_asm in uaccess_64.h to
> use "er" when "q" insn suffix is involved.
>
> Patch was compile tested on x86_64 with defconfig.
>
> Uros.
Uh, missed signed-off line and Cc, so:
Signed-off-by: Uros Bizjak <ubizjak@...il.com>
View attachment "p.diff.txt" of type "text/plain" (1476 bytes)
Powered by blists - more mailing lists