Skip to content

Commit

Permalink
Fix m68knommu 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 09087a1 commit 5daf303
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/asm-m68knommu/page.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#ifndef _M68KNOMMU_PAGE_H
#define _M68KNOMMU_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,8 +75,8 @@ extern unsigned long memory_end;

#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */

#include <asm-generic/page.h>

#endif /* __KERNEL__ */

#endif /* _M68KNOMMU_PAGE_H */

0 comments on commit 5daf303

Please sign in to comment.