Skip to content

Commit

Permalink
score: Make PAGE_SIZE available to assembly.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Tim Abbott authored and Chen Liqin committed Sep 23, 2009
1 parent 7fa0772 commit aa296dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/score/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
#define _ASM_SCORE_PAGE_H

#include <linux/pfn.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))

#ifdef __KERNEL__
Expand Down

0 comments on commit aa296dd

Please sign in to comment.