Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix v850 exported headers

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

+6 -5
+4 -3
include/asm-v850/page.h
··· 14 14 #ifndef __V850_PAGE_H__ 15 15 #define __V850_PAGE_H__ 16 16 17 + #ifdef __KERNEL__ 18 + 17 19 #include <asm/machdep.h> 18 20 19 21 ··· 34 32 #endif 35 33 36 34 37 - #ifdef __KERNEL__ 38 35 #ifndef __ASSEMBLY__ 39 36 40 37 #define STRICT_MM_TYPECHECKS ··· 123 122 #define __va(x) ((void *)__phys_to_virt ((unsigned long)(x))) 124 123 125 124 126 - #endif /* KERNEL */ 127 - 128 125 #include <asm-generic/memory_model.h> 129 126 #include <asm-generic/page.h> 127 + 128 + #endif /* KERNEL */ 130 129 131 130 #endif /* __V850_PAGE_H__ */
+2 -2
include/asm-v850/param.h
··· 14 14 #ifndef __V850_PARAM_H__ 15 15 #define __V850_PARAM_H__ 16 16 17 - #include <asm/machdep.h> /* For HZ */ 18 - 19 17 #define EXEC_PAGESIZE 4096 20 18 21 19 #ifndef NOGROUP ··· 23 25 #define MAXHOSTNAMELEN 64 /* max length of hostname */ 24 26 25 27 #ifdef __KERNEL__ 28 + #include <asm/machdep.h> /* For HZ */ 29 + 26 30 # define USER_HZ 100 27 31 # define CLOCKS_PER_SEC USER_HZ 28 32 #endif