Skip to content

Commit

Permalink
Fix v850 exported headers
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Sep 21, 2006
1 parent f17b7ba commit 2a1b181
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions include/asm-v850/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#ifndef __V850_PAGE_H__
#define __V850_PAGE_H__

#ifdef __KERNEL__

#include <asm/machdep.h>


Expand All @@ -32,7 +34,6 @@
#endif


#ifdef __KERNEL__
#ifndef __ASSEMBLY__

#define STRICT_MM_TYPECHECKS
Expand Down Expand Up @@ -122,9 +123,9 @@ typedef unsigned long pgprot_t;
#define __va(x) ((void *)__phys_to_virt ((unsigned long)(x)))


#endif /* KERNEL */

#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>

#endif /* KERNEL */

#endif /* __V850_PAGE_H__ */
4 changes: 2 additions & 2 deletions include/asm-v850/param.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#ifndef __V850_PARAM_H__
#define __V850_PARAM_H__

#include <asm/machdep.h> /* For HZ */

#define EXEC_PAGESIZE 4096

#ifndef NOGROUP
Expand All @@ -25,6 +23,8 @@
#define MAXHOSTNAMELEN 64 /* max length of hostname */

#ifdef __KERNEL__
#include <asm/machdep.h> /* For HZ */

# define USER_HZ 100
# define CLOCKS_PER_SEC USER_HZ
#endif
Expand Down

0 comments on commit 2a1b181

Please sign in to comment.