arm64: mm: Fix set_memory_valid() declaration
commit09c2a7dc4ca2755892b74858fe3bf62b652ff9d0
authorRobin Murphy <robin.murphy@arm.com>
Tue, 25 Jul 2017 10:55:38 +0000 (25 11:55 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Aug 2017 09:59:52 +0000 (9 10:59 +0100)
treefb9e3cad811581cc5995dc8ab4365ea02ba2d54e
parent1f9b8936f36f4a8e1d9923f5d03295d668cdf098
arm64: mm: Fix set_memory_valid() declaration

Clearly, set_memory_valid() has never been seen in the same room as its
declaration... Whilst the type mismatch is such that kexec probably
wasn't broken in practice, fix it to match the definition as it should.

Fixes: 9b0aa14e3155 ("arm64: mm: add set_memory_valid()")
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cacheflush.h