[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A63448B.1050208@gmail.com>
Date: Sun, 19 Jul 2009 18:06:35 +0200
From: Uros Bizjak <ubizjak@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH, x86]: Fix movq immediate operand constraints in uaccess_64.h
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.
View attachment "p.diff.txt" of type "text/plain" (1476 bytes)
Powered by blists - more mailing lists