提交 58e9c47f 编写于 作者: R Russell King

ARM: tlb: move noMMU tlb_flush() to asm/tlb.h

There's no need to noMMU to put tlb_flush() in asm/tlbflush.h - it's
part of the tlb shootdown interface.  Move it to asm/tlb.h instead, as
per x86.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 06824ba8
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
#ifndef CONFIG_MMU #ifndef CONFIG_MMU
#include <linux/pagemap.h> #include <linux/pagemap.h>
#define tlb_flush(tlb) ((void) tlb)
#include <asm-generic/tlb.h> #include <asm-generic/tlb.h>
#else /* !CONFIG_MMU */ #else /* !CONFIG_MMU */
......
...@@ -10,12 +10,7 @@ ...@@ -10,12 +10,7 @@
#ifndef _ASMARM_TLBFLUSH_H #ifndef _ASMARM_TLBFLUSH_H
#define _ASMARM_TLBFLUSH_H #define _ASMARM_TLBFLUSH_H
#ifdef CONFIG_MMU
#ifndef CONFIG_MMU
#define tlb_flush(tlb) ((void) tlb)
#else /* CONFIG_MMU */
#include <asm/glue.h> #include <asm/glue.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册