diff options
author | Laurent Dufour <ldufour@linux.vnet.ibm.com> | 2015-07-17 19:23:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-07-17 19:39:53 -0400 |
commit | f2abeef9fd6f03ebf417539ed099828a56733098 (patch) | |
tree | 51ee9a0337e6fd55ae3e13a180321ae51a244040 /arch/mips | |
parent | b992c7689a4d2f76109b6a544acbdc7cee937546 (diff) |
mm: clean up per architecture MM hook header files
Commit 2ae416b142b6 ("mm: new mm hook framework") introduced an empty
header file (mm-arch-hooks.h) for every architecture, even those which
doesn't need to define mm hooks.
As suggested by Geert Uytterhoeven, this could be cleaned through the use
of a generic header file included via each per architecture
asm/include/Kbuild file.
The PowerPC architecture is not impacted here since this architecture has
to defined the arch_remap MM hook.
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/mm-arch-hooks.h | 15 |
2 files changed, 1 insertions, 15 deletions
diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index 7fe5c61a3cb8..1f8546081d20 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild | |||
@@ -7,6 +7,7 @@ generic-y += emergency-restart.h | |||
7 | generic-y += irq_work.h | 7 | generic-y += irq_work.h |
8 | generic-y += local64.h | 8 | generic-y += local64.h |
9 | generic-y += mcs_spinlock.h | 9 | generic-y += mcs_spinlock.h |
10 | generic-y += mm-arch-hooks.h | ||
10 | generic-y += mutex.h | 11 | generic-y += mutex.h |
11 | generic-y += parport.h | 12 | generic-y += parport.h |
12 | generic-y += percpu.h | 13 | generic-y += percpu.h |
diff --git a/arch/mips/include/asm/mm-arch-hooks.h b/arch/mips/include/asm/mm-arch-hooks.h deleted file mode 100644 index b5609fe8e475..000000000000 --- a/arch/mips/include/asm/mm-arch-hooks.h +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | /* | ||
2 | * Architecture specific mm hooks | ||
3 | * | ||
4 | * Copyright (C) 2015, IBM Corporation | ||
5 | * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef _ASM_MIPS_MM_ARCH_HOOKS_H | ||
13 | #define _ASM_MIPS_MM_ARCH_HOOKS_H | ||
14 | |||
15 | #endif /* _ASM_MIPS_MM_ARCH_HOOKS_H */ | ||