diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-03-08 10:30:19 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-28 17:19:31 -0700 |
commit | fc0c2028135c7f75fce36b90e44efb8003a9173b (patch) | |
tree | 8fdb218033326310e36d0de2fa89293a0d72d0b3 /drivers/hwspinlock | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
x86, pmem: use memcpy_mcsafe() for memcpy_from_pmem()
Update the definition of memcpy_from_pmem() to return 0 or a negative
error code. Implement x86/arch_memcpy_from_pmem() with memcpy_mcsafe().
Cc: Borislav Petkov <bp@alien8.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions