mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:50:57 +07:00
mm: new mm hook framework
CRIU is recreating the process memory layout by remapping the checkpointee memory area on top of the current process (criu). This includes remapping the vDSO to the place it has at checkpoint time. However some architectures like powerpc are keeping a reference to the vDSO base address to build the signal return stack frame by calling the vDSO sigreturn service. So once the vDSO has been moved, this reference is no more valid and the signal frame built later are not usable. This patch serie is introducing a new mm hook framework, and a new arch_remap hook which is called when mremap is done and the mm lock still hold. The next patch is adding the vDSO remap and unmap tracking to the powerpc architecture. This patch (of 3): This patch introduces a new set of header file to manage mm hooks: - per architecture empty header file (arch/x/include/asm/mm-arch-hooks.h) - a generic header (include/linux/mm-arch-hooks.h) The architecture which need to overwrite a hook as to redefine it in its header file, while architecture which doesn't need have nothing to do. The default hooks are defined in the generic header and are used in the case the architecture is not defining it. In a next step, mm hooks defined in include/asm-generic/mm_hooks.h should be moved here. Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Hugh Dickins <hughd@google.com> Cc: Rik van Riel <riel@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e81f2d2237
commit
2ae416b142
15
arch/alpha/include/asm/mm-arch-hooks.h
Normal file
15
arch/alpha/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_ALPHA_MM_ARCH_HOOKS_H
|
||||
#define _ASM_ALPHA_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_ALPHA_MM_ARCH_HOOKS_H */
|
15
arch/arc/include/asm/mm-arch-hooks.h
Normal file
15
arch/arc/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_ARC_MM_ARCH_HOOKS_H
|
||||
#define _ASM_ARC_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_ARC_MM_ARCH_HOOKS_H */
|
15
arch/arm/include/asm/mm-arch-hooks.h
Normal file
15
arch/arm/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_ARM_MM_ARCH_HOOKS_H
|
||||
#define _ASM_ARM_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_ARM_MM_ARCH_HOOKS_H */
|
15
arch/arm64/include/asm/mm-arch-hooks.h
Normal file
15
arch/arm64/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_ARM64_MM_ARCH_HOOKS_H
|
||||
#define _ASM_ARM64_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_ARM64_MM_ARCH_HOOKS_H */
|
15
arch/avr32/include/asm/mm-arch-hooks.h
Normal file
15
arch/avr32/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_AVR32_MM_ARCH_HOOKS_H
|
||||
#define _ASM_AVR32_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_AVR32_MM_ARCH_HOOKS_H */
|
15
arch/blackfin/include/asm/mm-arch-hooks.h
Normal file
15
arch/blackfin/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_BLACKFIN_MM_ARCH_HOOKS_H
|
||||
#define _ASM_BLACKFIN_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_BLACKFIN_MM_ARCH_HOOKS_H */
|
15
arch/c6x/include/asm/mm-arch-hooks.h
Normal file
15
arch/c6x/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_C6X_MM_ARCH_HOOKS_H
|
||||
#define _ASM_C6X_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_C6X_MM_ARCH_HOOKS_H */
|
15
arch/cris/include/asm/mm-arch-hooks.h
Normal file
15
arch/cris/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_CRIS_MM_ARCH_HOOKS_H
|
||||
#define _ASM_CRIS_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_CRIS_MM_ARCH_HOOKS_H */
|
15
arch/frv/include/asm/mm-arch-hooks.h
Normal file
15
arch/frv/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_FRV_MM_ARCH_HOOKS_H
|
||||
#define _ASM_FRV_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_FRV_MM_ARCH_HOOKS_H */
|
15
arch/hexagon/include/asm/mm-arch-hooks.h
Normal file
15
arch/hexagon/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_HEXAGON_MM_ARCH_HOOKS_H
|
||||
#define _ASM_HEXAGON_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_HEXAGON_MM_ARCH_HOOKS_H */
|
15
arch/ia64/include/asm/mm-arch-hooks.h
Normal file
15
arch/ia64/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_IA64_MM_ARCH_HOOKS_H
|
||||
#define _ASM_IA64_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_IA64_MM_ARCH_HOOKS_H */
|
15
arch/m32r/include/asm/mm-arch-hooks.h
Normal file
15
arch/m32r/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_M32R_MM_ARCH_HOOKS_H
|
||||
#define _ASM_M32R_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_M32R_MM_ARCH_HOOKS_H */
|
15
arch/m68k/include/asm/mm-arch-hooks.h
Normal file
15
arch/m68k/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_M68K_MM_ARCH_HOOKS_H
|
||||
#define _ASM_M68K_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_M68K_MM_ARCH_HOOKS_H */
|
15
arch/metag/include/asm/mm-arch-hooks.h
Normal file
15
arch/metag/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_METAG_MM_ARCH_HOOKS_H
|
||||
#define _ASM_METAG_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_METAG_MM_ARCH_HOOKS_H */
|
15
arch/microblaze/include/asm/mm-arch-hooks.h
Normal file
15
arch/microblaze/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_MICROBLAZE_MM_ARCH_HOOKS_H
|
||||
#define _ASM_MICROBLAZE_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_MICROBLAZE_MM_ARCH_HOOKS_H */
|
15
arch/mips/include/asm/mm-arch-hooks.h
Normal file
15
arch/mips/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_MIPS_MM_ARCH_HOOKS_H
|
||||
#define _ASM_MIPS_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_MIPS_MM_ARCH_HOOKS_H */
|
15
arch/mn10300/include/asm/mm-arch-hooks.h
Normal file
15
arch/mn10300/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_MN10300_MM_ARCH_HOOKS_H
|
||||
#define _ASM_MN10300_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_MN10300_MM_ARCH_HOOKS_H */
|
15
arch/nios2/include/asm/mm-arch-hooks.h
Normal file
15
arch/nios2/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_NIOS2_MM_ARCH_HOOKS_H
|
||||
#define _ASM_NIOS2_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_NIOS2_MM_ARCH_HOOKS_H */
|
15
arch/openrisc/include/asm/mm-arch-hooks.h
Normal file
15
arch/openrisc/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_OPENRISC_MM_ARCH_HOOKS_H
|
||||
#define _ASM_OPENRISC_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_OPENRISC_MM_ARCH_HOOKS_H */
|
15
arch/parisc/include/asm/mm-arch-hooks.h
Normal file
15
arch/parisc/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_PARISC_MM_ARCH_HOOKS_H
|
||||
#define _ASM_PARISC_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_PARISC_MM_ARCH_HOOKS_H */
|
15
arch/powerpc/include/asm/mm-arch-hooks.h
Normal file
15
arch/powerpc/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_POWERPC_MM_ARCH_HOOKS_H
|
||||
#define _ASM_POWERPC_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_POWERPC_MM_ARCH_HOOKS_H */
|
15
arch/s390/include/asm/mm-arch-hooks.h
Normal file
15
arch/s390/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_S390_MM_ARCH_HOOKS_H
|
||||
#define _ASM_S390_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_S390_MM_ARCH_HOOKS_H */
|
15
arch/score/include/asm/mm-arch-hooks.h
Normal file
15
arch/score/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_SCORE_MM_ARCH_HOOKS_H
|
||||
#define _ASM_SCORE_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_SCORE_MM_ARCH_HOOKS_H */
|
15
arch/sh/include/asm/mm-arch-hooks.h
Normal file
15
arch/sh/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_SH_MM_ARCH_HOOKS_H
|
||||
#define _ASM_SH_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_SH_MM_ARCH_HOOKS_H */
|
15
arch/sparc/include/asm/mm-arch-hooks.h
Normal file
15
arch/sparc/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_SPARC_MM_ARCH_HOOKS_H
|
||||
#define _ASM_SPARC_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_SPARC_MM_ARCH_HOOKS_H */
|
15
arch/tile/include/asm/mm-arch-hooks.h
Normal file
15
arch/tile/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_TILE_MM_ARCH_HOOKS_H
|
||||
#define _ASM_TILE_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_TILE_MM_ARCH_HOOKS_H */
|
15
arch/um/include/asm/mm-arch-hooks.h
Normal file
15
arch/um/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_UM_MM_ARCH_HOOKS_H
|
||||
#define _ASM_UM_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_UM_MM_ARCH_HOOKS_H */
|
15
arch/unicore32/include/asm/mm-arch-hooks.h
Normal file
15
arch/unicore32/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_UNICORE32_MM_ARCH_HOOKS_H
|
||||
#define _ASM_UNICORE32_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_UNICORE32_MM_ARCH_HOOKS_H */
|
15
arch/x86/include/asm/mm-arch-hooks.h
Normal file
15
arch/x86/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_X86_MM_ARCH_HOOKS_H
|
||||
#define _ASM_X86_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_X86_MM_ARCH_HOOKS_H */
|
15
arch/xtensa/include/asm/mm-arch-hooks.h
Normal file
15
arch/xtensa/include/asm/mm-arch-hooks.h
Normal file
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Architecture specific mm hooks
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_XTENSA_MM_ARCH_HOOKS_H
|
||||
#define _ASM_XTENSA_MM_ARCH_HOOKS_H
|
||||
|
||||
#endif /* _ASM_XTENSA_MM_ARCH_HOOKS_H */
|
16
include/linux/mm-arch-hooks.h
Normal file
16
include/linux/mm-arch-hooks.h
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Generic mm no-op hooks.
|
||||
*
|
||||
* Copyright (C) 2015, IBM Corporation
|
||||
* Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
#ifndef _LINUX_MM_ARCH_HOOKS_H
|
||||
#define _LINUX_MM_ARCH_HOOKS_H
|
||||
|
||||
#include <asm/mm-arch-hooks.h>
|
||||
|
||||
#endif /* _LINUX_MM_ARCH_HOOKS_H */
|
Loading…
Reference in New Issue
Block a user