[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH v2 09/47] arm64: add the __PAGE_SIZE macro in header file



The __PAGE_SIZE is needed by the include/posix/limits.h.

Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx>
---
 include/arm/arch_limits.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/arm/arch_limits.h b/include/arm/arch_limits.h
index 23a491f..de047b0 100644
--- a/include/arm/arch_limits.h
+++ b/include/arm/arch_limits.h
@@ -3,6 +3,8 @@
 
 #include <page_def.h>
 
+#define __PAGE_SIZE       (1UL << PAGE_SHIFT)
+
 #define __STACK_SIZE_PAGE_ORDER  2
 #define __STACK_SIZE (4 * PAGE_SIZE)
 
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.