mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 19:10:45 +01:00
Commit 2ae416b142 ("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 <[email protected]>
Suggested-by: Geert Uytterhoeven <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Acked-by: Vineet Gupta <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
17 lines
388 B
C
17 lines
388 B
C
/*
|
|
* Architecture specific mm hooks
|
|
*/
|
|
|
|
#ifndef _ASM_GENERIC_MM_ARCH_HOOKS_H
|
|
#define _ASM_GENERIC_MM_ARCH_HOOKS_H
|
|
|
|
/*
|
|
* This file should be included through arch/../include/asm/Kbuild for
|
|
* the architecture which doesn't need specific mm hooks.
|
|
*
|
|
* In that case, the generic hooks defined in include/linux/mm-arch-hooks.h
|
|
* are used.
|
|
*/
|
|
|
|
#endif /* _ASM_GENERIC_MM_ARCH_HOOKS_H */
|