arm64: neon: Temporarily add a kernel_mode_begin_partial() definition
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Aug 2017 14:10:12 +0000 (15:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Aug 2017 14:10:12 +0000 (15:10 +0100)
commit174dfb12860eac361f3ced9fefb51393fec5bd32
tree0fe3dc6f5bec61ac0f462fbd8a622fd7b6b4c14b
parentcb84d11e1625aa3a081d898ca2640bf3a9ca0e96
arm64: neon: Temporarily add a kernel_mode_begin_partial() definition

The crypto code currently relies on kernel_mode_begin_partial() being
available. Until the corresponding crypto patches are merged, define
this macro temporarily, though with different semantics as it cannot be
called in interrupt context.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/neon.h