]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix compile error in current tip.git
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 10 Jul 2008 19:52:52 +0000 (12:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Jul 2008 19:55:59 +0000 (21:55 +0200)
commitb344fac89e2e71ad77424e1d2046bb8168bece77
tree3a72fbafa37e6222f3bdade4ca7bfdaaab300c35
parent7493fc3b7a1275e021981cd16987231bd2d6d00c
x86: fix compile error in current tip.git

Gas 2.15 complains about 32-bit registers being used in lea.

  AS      arch/x86/lib/copy_user_64.o
/local/scratch-2/jeremy/hg/xen/paravirt/linux/arch/x86/lib/copy_user_64.S: Assembler messages:
/local/scratch-2/jeremy/hg/xen/paravirt/linux/arch/x86/lib/copy_user_64.S:188: Error: `(%edx,%ecx,8)' is not a valid 64 bit base/index expression
/local/scratch-2/jeremy/hg/xen/paravirt/linux/arch/x86/lib/copy_user_64.S:257: Error: `(%edx,%ecx,8)' is not a valid 64 bit base/index expression
  AS      arch/x86/lib/copy_user_nocache_64.o
/local/scratch-2/jeremy/hg/xen/paravirt/linux/arch/x86/lib/copy_user_nocache_64.S: Assembler messages:
/local/scratch-2/jeremy/hg/xen/paravirt/linux/arch/x86/lib/copy_user_nocache_64.S:107: Error: `(%edx,%ecx,8)' is not a valid 64 bit base/index expression

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Vitaly Mayatskikh <v.mayatskih@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/copy_user_64.S
arch/x86/lib/copy_user_nocache_64.S