Skip to content

Commit

Permalink
Fix H8300 exported headers.
Browse files Browse the repository at this point in the history
Just clean up asm/page.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Sep 21, 2006
1 parent 5daf303 commit 0000f0b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/asm-h8300/page.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#ifndef _H8300_PAGE_H
#define _H8300_PAGE_H

#ifdef __KERNEL__

/* PAGE_SHIFT determines the page size */

#define PAGE_SHIFT (12)
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))

#ifdef __KERNEL__

#include <asm/setup.h>

#ifndef __ASSEMBLY__
Expand Down Expand Up @@ -76,9 +75,9 @@ extern unsigned long memory_end;

#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */

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

#endif /* __KERNEL__ */

#endif /* _H8300_PAGE_H */

0 comments on commit 0000f0b

Please sign in to comment.