History

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.

Ingo Molnar committed 6 years ago

Commit 1f059df1 parent da9144c26 files · +102 −0Browse files

Unified · Split

26 files
  1. arch/alpha/include/asm/vmalloc.h +4 −0
  2. arch/arc/include/asm/vmalloc.h +4 −0
  3. arch/arm/include/asm/vmalloc.h +4 −0
  4. arch/arm64/include/asm/vmalloc.h +4 −0
  5. arch/c6x/include/asm/vmalloc.h +4 −0
  6. arch/csky/include/asm/vmalloc.h +4 −0
  7. arch/h8300/include/asm/vmalloc.h +4 −0
  8. arch/hexagon/include/asm/vmalloc.h +4 −0
  9. arch/ia64/include/asm/vmalloc.h +4 −0
  10. arch/m68k/include/asm/vmalloc.h +4 −0
  11. arch/microblaze/include/asm/vmalloc.h +4 −0
  12. arch/mips/include/asm/vmalloc.h +4 −0
  13. arch/nds32/include/asm/vmalloc.h +4 −0
  14. arch/nios2/include/asm/vmalloc.h +4 −0
  15. arch/openrisc/include/asm/vmalloc.h +4 −0
  16. arch/parisc/include/asm/vmalloc.h +4 −0
  17. arch/powerpc/include/asm/vmalloc.h +4 −0
  18. arch/riscv/include/asm/vmalloc.h +4 −0
  19. arch/s390/include/asm/vmalloc.h +4 −0
  20. arch/sh/include/asm/vmalloc.h +4 −0
  21. arch/sparc/include/asm/vmalloc.h +4 −0
  22. arch/um/include/asm/vmalloc.h +4 −0
  23. arch/unicore32/include/asm/vmalloc.h +4 −0
  24. arch/x86/include/asm/vmalloc.h +4 −0
  25. arch/xtensa/include/asm/vmalloc.h +4 −0
  26. include/linux/vmalloc.h +2 −0
arch/alpha/include/asm/vmalloc.h+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -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+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_M68K_VMALLOC_H
2+#define _ASM_M68K_VMALLOC_H
3+
4+#endif /* _ASM_M68K_VMALLOC_H */
arch/microblaze/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_MICROBLAZE_VMALLOC_H
2+#define _ASM_MICROBLAZE_VMALLOC_H
3+
4+#endif /* _ASM_MICROBLAZE_VMALLOC_H */
arch/mips/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_MIPS_VMALLOC_H
2+#define _ASM_MIPS_VMALLOC_H
3+
4+#endif /* _ASM_MIPS_VMALLOC_H */
arch/nds32/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_NDS32_VMALLOC_H
2+#define _ASM_NDS32_VMALLOC_H
3+
4+#endif /* _ASM_NDS32_VMALLOC_H */
arch/nios2/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_NIOS2_VMALLOC_H
2+#define _ASM_NIOS2_VMALLOC_H
3+
4+#endif /* _ASM_NIOS2_VMALLOC_H */
arch/openrisc/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_OPENRISC_VMALLOC_H
2+#define _ASM_OPENRISC_VMALLOC_H
3+
4+#endif /* _ASM_OPENRISC_VMALLOC_H */
arch/parisc/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_PARISC_VMALLOC_H
2+#define _ASM_PARISC_VMALLOC_H
3+
4+#endif /* _ASM_PARISC_VMALLOC_H */
arch/powerpc/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_POWERPC_VMALLOC_H
2+#define _ASM_POWERPC_VMALLOC_H
3+
4+#endif /* _ASM_POWERPC_VMALLOC_H */
arch/riscv/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_RISCV_VMALLOC_H
2+#define _ASM_RISCV_VMALLOC_H
3+
4+#endif /* _ASM_RISCV_VMALLOC_H */
arch/s390/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_S390_VMALLOC_H
2+#define _ASM_S390_VMALLOC_H
3+
4+#endif /* _ASM_S390_VMALLOC_H */
arch/sh/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_SH_VMALLOC_H
2+#define _ASM_SH_VMALLOC_H
3+
4+#endif /* _ASM_SH_VMALLOC_H */
arch/sparc/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_SPARC_VMALLOC_H
2+#define _ASM_SPARC_VMALLOC_H
3+
4+#endif /* _ASM_SPARC_VMALLOC_H */
arch/um/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_UM_VMALLOC_H
2+#define _ASM_UM_VMALLOC_H
3+
4+#endif /* _ASM_UM_VMALLOC_H */
arch/unicore32/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_UNICORE32_VMALLOC_H
2+#define _ASM_UNICORE32_VMALLOC_H
3+
4+#endif /* _ASM_UNICORE32_VMALLOC_H */
arch/x86/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_X86_VMALLOC_H
2+#define _ASM_X86_VMALLOC_H
3+
4+#endif /* _ASM_X86_VMALLOC_H */
arch/xtensa/include/asm/vmalloc.h+4−0
@@ -0,0 +1,4 @@
1+#ifndef _ASM_XTENSA_VMALLOC_H
2+#define _ASM_XTENSA_VMALLOC_H
3+
4+#endif /* _ASM_XTENSA_VMALLOC_H */
include/linux/vmalloc.h+2−0
@@ -10,6 +10,8 @@ · 9 unmodified lines
1010 #include <linux/rbtree.h>
1111 #include <linux/overflow.h>
1212
13+#include <asm/vmalloc.h>
14+
1315 struct vm_area_struct; /* vma defining user mapping in mm_types.h */
1416 struct notifier_block; /* in notifier.h */
1517

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t