summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-13 23:55:11 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-13 23:56:16 +0200
commitdf378ccfc4dd04e263426ad805516915874774aa (patch)
tree3e5bbee1836883d34ec9fe92bbafa976460e0d70 /arch/x86/lib
parentx86, alternatives: Use 16-bit numbers for cpufeature index (diff)
downloadlinux-df378ccfc4dd04e263426ad805516915874774aa.tar.xz
linux-df378ccfc4dd04e263426ad805516915874774aa.zip
x86, alternatives: Fix one more open-coded 8-bit alternative number
Fix a missing case of an 8-bit alternative number, buried inside an assembly macro. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Reported-by: Yinghai Lu <yinhai@kernel.org> Cc: Suresh Siddha <suresh.b.siddha@intel.com> LKML-Reference: <4C3BDDA3.2060900@kernel.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/copy_user_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/copy_user_64.S b/arch/x86/lib/copy_user_64.S
index 71100c98e337..a460158b5ac5 100644
--- a/arch/x86/lib/copy_user_64.S
+++ b/arch/x86/lib/copy_user_64.S
@@ -29,7 +29,7 @@
.align 8
.quad 0b
.quad 2b
- .byte \feature /* when feature is set */
+ .word \feature /* when feature is set */
.byte 5
.byte 5
.previous