aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2012-11-20 13:07:46 +0000
committerMatt Fleming <[email protected]>2012-11-20 20:52:07 +0000
commit0f905a43ce955b638139bd84486194770a6a2c08 (patch)
tree21756a91c7a08a6aec779926a4c38781071b8d3e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentcaaa8c6339ccefee6e834c4a8b0bec7e721e7357 (diff)
x86, efi: Fix processor-specific memcpy() build error
Building for Athlon/Duron/K7 results in the following build error, arch/x86/boot/compressed/eboot.o: In function `__constant_memcpy3d': eboot.c:(.text+0x385): undefined reference to `_mmx_memcpy' arch/x86/boot/compressed/eboot.o: In function `efi_main': eboot.c:(.text+0x1a22): undefined reference to `_mmx_memcpy' because the boot stub code doesn't link with the kernel proper, and therefore doesn't have access to the 3DNow version of memcpy. So, follow the example of misc.c and #undef memcpy so that we use the version provided by misc.c. See https://bugzilla.kernel.org/show_bug.cgi?id=50391 Reported-by: Al Viro <[email protected]> Reported-by: Ryan Underwood <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: [email protected] Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions