Commit 2a1b181e authored by David Woodhouse's avatar David Woodhouse

Fix v850 exported headers

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent f17b7bad
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#ifndef __V850_PAGE_H__ #ifndef __V850_PAGE_H__
#define __V850_PAGE_H__ #define __V850_PAGE_H__
#ifdef __KERNEL__
#include <asm/machdep.h> #include <asm/machdep.h>
...@@ -32,7 +34,6 @@ ...@@ -32,7 +34,6 @@
#endif #endif
#ifdef __KERNEL__
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#define STRICT_MM_TYPECHECKS #define STRICT_MM_TYPECHECKS
...@@ -122,9 +123,9 @@ typedef unsigned long pgprot_t; ...@@ -122,9 +123,9 @@ typedef unsigned long pgprot_t;
#define __va(x) ((void *)__phys_to_virt ((unsigned long)(x))) #define __va(x) ((void *)__phys_to_virt ((unsigned long)(x)))
#endif /* KERNEL */
#include <asm-generic/memory_model.h> #include <asm-generic/memory_model.h>
#include <asm-generic/page.h> #include <asm-generic/page.h>
#endif /* KERNEL */
#endif /* __V850_PAGE_H__ */ #endif /* __V850_PAGE_H__ */
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#ifndef __V850_PARAM_H__ #ifndef __V850_PARAM_H__
#define __V850_PARAM_H__ #define __V850_PARAM_H__
#include <asm/machdep.h> /* For HZ */
#define EXEC_PAGESIZE 4096 #define EXEC_PAGESIZE 4096
#ifndef NOGROUP #ifndef NOGROUP
...@@ -25,6 +23,8 @@ ...@@ -25,6 +23,8 @@
#define MAXHOSTNAMELEN 64 /* max length of hostname */ #define MAXHOSTNAMELEN 64 /* max length of hostname */
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/machdep.h> /* For HZ */
# define USER_HZ 100 # define USER_HZ 100
# define CLOCKS_PER_SEC USER_HZ # define CLOCKS_PER_SEC USER_HZ
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment