Skip to content

Commit

Permalink
m68knommu: Make PAGE_SIZE available to assembly files.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Tim Abbott authored and Greg Ungerer committed Sep 15, 2009
1 parent 2756730 commit 2985709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/m68k/include/asm/page_no.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#ifndef _M68KNOMMU_PAGE_H
#define _M68KNOMMU_PAGE_H

#include <linux/const.h>

/* PAGE_SHIFT determines the page size */

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

#include <asm/setup.h>
Expand Down

0 comments on commit 2985709

Please sign in to comment.