aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-09-11 17:06:37 +1000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-12 12:19:46 -0700
commitc413fecc763e380ec93dc6faf726e7e735ade04e (patch)
treedeadc5f49c90dbe41081f2ca472a6b03a105de08 /drivers/mtd
parenti386: Fix leak of ../kernel from top level (diff)
downloadlinux-dev-c413fecc763e380ec93dc6faf726e7e735ade04e.tar.xz
linux-dev-c413fecc763e380ec93dc6faf726e7e735ade04e.zip
lguest: Fix guest crash when CONFIG_X86_USE_3DNOW=y
One of the very first things lguest_init() does is a memcpy. On Athlon/Duron/K7 or CyrixIII/VIA-C3 or Geode GX/LX, this tries to use MMX. memcpy -> _mmx_memcpy -> kernel_fpu_begin -> clts -> paravirt_ops.clts But we haven't set paravirt_ops.clts yet, so we do the native version and crash. The simplest solution is to use __memcpy. Thanks to Michael Rasenberger for the bug report. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions