Skip to content

Commit 1f059df

Browse files
author
Ingo Molnar
committed
mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h>
In the x86 MM code we'd like to untangle various types of historic header dependency spaghetti, but for this we'd need to pass to the generic vmalloc code various vmalloc related defines that customarily come via the <asm/page.h> low level arch header. Signed-off-by: Ingo Molnar <[email protected]>
1 parent da9144c commit 1f059df

File tree

26 files changed

+102
-0
lines changed

26 files changed

+102
-0
lines changed

arch/alpha/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_ALPHA_VMALLOC_H
2+
#define _ASM_ALPHA_VMALLOC_H
3+
4+
#endif /* _ASM_ALPHA_VMALLOC_H */

arch/arc/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_ARC_VMALLOC_H
2+
#define _ASM_ARC_VMALLOC_H
3+
4+
#endif /* _ASM_ARC_VMALLOC_H */

arch/arm/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_ARM_VMALLOC_H
2+
#define _ASM_ARM_VMALLOC_H
3+
4+
#endif /* _ASM_ARM_VMALLOC_H */

arch/arm64/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_ARM64_VMALLOC_H
2+
#define _ASM_ARM64_VMALLOC_H
3+
4+
#endif /* _ASM_ARM64_VMALLOC_H */

arch/c6x/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_C6X_VMALLOC_H
2+
#define _ASM_C6X_VMALLOC_H
3+
4+
#endif /* _ASM_C6X_VMALLOC_H */

arch/csky/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_CSKY_VMALLOC_H
2+
#define _ASM_CSKY_VMALLOC_H
3+
4+
#endif /* _ASM_CSKY_VMALLOC_H */

arch/h8300/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_H8300_VMALLOC_H
2+
#define _ASM_H8300_VMALLOC_H
3+
4+
#endif /* _ASM_H8300_VMALLOC_H */

arch/hexagon/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_HEXAGON_VMALLOC_H
2+
#define _ASM_HEXAGON_VMALLOC_H
3+
4+
#endif /* _ASM_HEXAGON_VMALLOC_H */

arch/ia64/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_IA64_VMALLOC_H
2+
#define _ASM_IA64_VMALLOC_H
3+
4+
#endif /* _ASM_IA64_VMALLOC_H */

arch/m68k/include/asm/vmalloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#ifndef _ASM_M68K_VMALLOC_H
2+
#define _ASM_M68K_VMALLOC_H
3+
4+
#endif /* _ASM_M68K_VMALLOC_H */

0 commit comments

Comments
 (0)