[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1253467979-14110-2-git-send-email-tabbott@ksplice.com>
Date: Sun, 20 Sep 2009 13:32:57 -0400
From: Tim Abbott <tabbott@...lice.com>
To: Chen Liqin <liqin.chen@...plusct.com>,
Lennox Wu <lennox.wu@...plusct.com>
Cc: linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>,
Tim Abbott <tabbott@...lice.com>
Subject: [PATCH 1/3] score: Make PAGE_SIZE available to assembly.
Signed-off-by: Tim Abbott <tabbott@...lice.com>
---
arch/score/include/asm/page.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/score/include/asm/page.h b/arch/score/include/asm/page.h
index ee58210..d92a5a2 100644
--- a/arch/score/include/asm/page.h
+++ b/arch/score/include/asm/page.h
@@ -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__
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists