aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-21 04:05:25 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 04:05:25 -0400
commit2a1b181eff32f497f285fcfc1e771ec469205908 (patch)
tree97c12a0ab059efbc6b4b354a11ffef38cf7b9e61
parentf17b7bad396c8f748620f54a88754a1f5af02c8a (diff)
Fix v850 exported headers
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--include/asm-v850/page.h7
-rw-r--r--include/asm-v850/param.h4
2 files changed, 6 insertions, 5 deletions
diff --git a/include/asm-v850/page.h b/include/asm-v850/page.h
index ad03c46a1f92..d693ffb1364d 100644
--- a/include/asm-v850/page.h
+++ b/include/asm-v850/page.h
@@ -14,6 +14,8 @@
14#ifndef __V850_PAGE_H__ 14#ifndef __V850_PAGE_H__
15#define __V850_PAGE_H__ 15#define __V850_PAGE_H__
16 16
17#ifdef __KERNEL__
18
17#include <asm/machdep.h> 19#include <asm/machdep.h>
18 20
19 21
@@ -32,7 +34,6 @@
32#endif 34#endif
33 35
34 36
35#ifdef __KERNEL__
36#ifndef __ASSEMBLY__ 37#ifndef __ASSEMBLY__
37 38
38#define STRICT_MM_TYPECHECKS 39#define STRICT_MM_TYPECHECKS
@@ -122,9 +123,9 @@ typedef unsigned long pgprot_t;
122#define __va(x) ((void *)__phys_to_virt ((unsigned long)(x))) 123#define __va(x) ((void *)__phys_to_virt ((unsigned long)(x)))
123 124
124 125
125#endif /* KERNEL */
126
127#include <asm-generic/memory_model.h> 126#include <asm-generic/memory_model.h>
128#include <asm-generic/page.h> 127#include <asm-generic/page.h>
129 128
129#endif /* KERNEL */
130
130#endif /* __V850_PAGE_H__ */ 131#endif /* __V850_PAGE_H__ */
diff --git a/include/asm-v850/param.h b/include/asm-v850/param.h
index 8d796e4bff52..3c65bd573782 100644
--- a/include/asm-v850/param.h
+++ b/include/asm-v850/param.h
@@ -14,8 +14,6 @@
14#ifndef __V850_PARAM_H__ 14#ifndef __V850_PARAM_H__
15#define __V850_PARAM_H__ 15#define __V850_PARAM_H__
16 16
17#include <asm/machdep.h> /* For HZ */
18
19#define EXEC_PAGESIZE 4096 17#define EXEC_PAGESIZE 4096
20 18
21#ifndef NOGROUP 19#ifndef NOGROUP
@@ -25,6 +23,8 @@
25#define MAXHOSTNAMELEN 64 /* max length of hostname */ 23#define MAXHOSTNAMELEN 64 /* max length of hostname */
26 24
27#ifdef __KERNEL__ 25#ifdef __KERNEL__
26#include <asm/machdep.h> /* For HZ */
27
28# define USER_HZ 100 28# define USER_HZ 100
29# define CLOCKS_PER_SEC USER_HZ 29# define CLOCKS_PER_SEC USER_HZ
30#endif 30#endif