mm: clean up per architecture MM hook header files
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 <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>
This commit is contained in:
parent
b992c7689a
commit
f2abeef9fd
60 changed files with 46 additions and 435 deletions
|
@ -5,6 +5,7 @@ generic-y += cputime.h
|
||||||
generic-y += exec.h
|
generic-y += exec.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += sections.h
|
generic-y += sections.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -22,6 +22,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -13,6 +13,7 @@ generic-y += kdebug.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
generic-y += parport.h
|
generic-y += parport.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -25,6 +25,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += msi.h
|
generic-y += msi.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -12,6 +12,7 @@ generic-y += irq_work.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
generic-y += percpu.h
|
generic-y += percpu.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -21,6 +21,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -26,6 +26,7 @@ generic-y += kdebug.h
|
||||||
generic-y += kmap_types.h
|
generic-y += kmap_types.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += mmu.h
|
generic-y += mmu.h
|
||||||
generic-y += mmu_context.h
|
generic-y += mmu_context.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -18,6 +18,7 @@ generic-y += linkage.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += module.h
|
generic-y += module.h
|
||||||
generic-y += percpu.h
|
generic-y += percpu.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -4,5 +4,6 @@ generic-y += cputime.h
|
||||||
generic-y += exec.h
|
generic-y += exec.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -33,6 +33,7 @@ generic-y += linkage.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += mmu.h
|
generic-y += mmu.h
|
||||||
generic-y += mmu_context.h
|
generic-y += mmu_context.h
|
||||||
|
|
|
@ -28,6 +28,7 @@ generic-y += kmap_types.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += pci.h
|
generic-y += pci.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -4,6 +4,7 @@ generic-y += exec.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += kvm_para.h
|
generic-y += kvm_para.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
generic-y += vtime.h
|
generic-y += vtime.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -4,6 +4,7 @@ generic-y += cputime.h
|
||||||
generic-y += exec.h
|
generic-y += exec.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += module.h
|
generic-y += module.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += sections.h
|
generic-y += sections.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -18,6 +18,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += percpu.h
|
generic-y += percpu.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -25,6 +25,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -6,6 +6,7 @@ generic-y += device.h
|
||||||
generic-y += exec.h
|
generic-y += exec.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += syscalls.h
|
generic-y += syscalls.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -7,6 +7,7 @@ generic-y += emergency-restart.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += parport.h
|
generic-y += parport.h
|
||||||
generic-y += percpu.h
|
generic-y += percpu.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -5,6 +5,7 @@ generic-y += cputime.h
|
||||||
generic-y += exec.h
|
generic-y += exec.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += sections.h
|
generic-y += sections.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -30,6 +30,7 @@ generic-y += kmap_types.h
|
||||||
generic-y += kvm_para.h
|
generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += module.h
|
generic-y += module.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -36,6 +36,7 @@ generic-y += kmap_types.h
|
||||||
generic-y += kvm_para.h
|
generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += module.h
|
generic-y += module.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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,6 +15,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
generic-y += percpu.h
|
generic-y += percpu.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -3,5 +3,6 @@
|
||||||
generic-y += clkdev.h
|
generic-y += clkdev.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -7,6 +7,7 @@ generic-y += clkdev.h
|
||||||
generic-y += cputime.h
|
generic-y += cputime.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += sections.h
|
generic-y += sections.h
|
||||||
generic-y += trace_clock.h
|
generic-y += trace_clock.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -16,6 +16,7 @@ generic-y += kvm_para.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -12,6 +12,7 @@ generic-y += linkage.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += module.h
|
generic-y += module.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -19,6 +19,7 @@ generic-y += irq_regs.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -16,6 +16,7 @@ generic-y += irq_regs.h
|
||||||
generic-y += irq_work.h
|
generic-y += irq_work.h
|
||||||
generic-y += kdebug.h
|
generic-y += kdebug.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mutex.h
|
generic-y += mutex.h
|
||||||
generic-y += param.h
|
generic-y += param.h
|
||||||
generic-y += pci.h
|
generic-y += pci.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -26,6 +26,7 @@ generic-y += kdebug.h
|
||||||
generic-y += kmap_types.h
|
generic-y += kmap_types.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += mman.h
|
generic-y += mman.h
|
||||||
generic-y += module.h
|
generic-y += module.h
|
||||||
generic-y += msgbuf.h
|
generic-y += msgbuf.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -9,3 +9,4 @@ generic-y += cputime.h
|
||||||
generic-y += dma-contiguous.h
|
generic-y += dma-contiguous.h
|
||||||
generic-y += early_ioremap.h
|
generic-y += early_ioremap.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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 */
|
|
|
@ -19,6 +19,7 @@ generic-y += linkage.h
|
||||||
generic-y += local.h
|
generic-y += local.h
|
||||||
generic-y += local64.h
|
generic-y += local64.h
|
||||||
generic-y += mcs_spinlock.h
|
generic-y += mcs_spinlock.h
|
||||||
|
generic-y += mm-arch-hooks.h
|
||||||
generic-y += percpu.h
|
generic-y += percpu.h
|
||||||
generic-y += preempt.h
|
generic-y += preempt.h
|
||||||
generic-y += resource.h
|
generic-y += resource.h
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
/*
|
|
||||||
* 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/asm-generic/mm-arch-hooks.h
Normal file
16
include/asm-generic/mm-arch-hooks.h
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*
|
||||||
|
* 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 */
|
Loading…
Reference in a new issue