]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm: Carve out a generic movdir64b() helper for general usage
authorDave Jiang <dave.jiang@intel.com>
Mon, 5 Oct 2020 15:11:22 +0000 (08:11 -0700)
committerBorislav Petkov <bp@suse.de>
Wed, 7 Oct 2020 15:49:25 +0000 (17:49 +0200)
commitcc4e35d4930bdf978d39a5dd9576364a81fad7fc
tree4d205801af64e20f20ae3aa904355b02d8644a87
parentefb515b86c9edf79a523c0242b113bad7cc40a5c
x86/asm: Carve out a generic movdir64b() helper for general usage

Carve out the MOVDIR64B inline asm primitive into a generic helper so
that it can be used by other functions. Move it to special_insns.h and
have iosubmit_cmds512() call it.

 [ bp: Massage commit message. ]

Suggested-by: Michael Matz <matz@suse.de>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201005151126.657029-2-dave.jiang@intel.com
arch/x86/include/asm/io.h
arch/x86/include/asm/special_insns.h