aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/mm
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2012-11-23 18:15:32 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2012-11-23 18:15:32 +0000
commit8f3bfa584ed05e9e7d290707c48eee026fb94ece (patch)
treeae70488eda102124afa026545e0a4e0038a459c7 /arch/arm64/mm
parent88a24cffad7d98f16de52fe5dd2d71f64cb21585 (diff)
downloadlinux-8f3bfa584ed05e9e7d290707c48eee026fb94ece.tar.gz
arm64: Convert empty flush_cache_{mm,page} functions to static inline
These functions are empty, just make them static inline in the header. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm')
-rw-r--r--arch/arm64/mm/flush.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c
index c144adb1682..88611c3a421 100644
--- a/arch/arm64/mm/flush.c
+++ b/arch/arm64/mm/flush.c
@@ -27,10 +27,6 @@
#include "mm.h"
-void flush_cache_mm(struct mm_struct *mm)
-{
-}
-
void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
unsigned long end)
{
@@ -38,11 +34,6 @@ void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
__flush_icache_all();
}
-void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr,
- unsigned long pfn)
-{
-}
-
static void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
unsigned long uaddr, void *kaddr,
unsigned long len)