Index: uspace/libc/include/as.h
===================================================================
--- uspace/libc/include/as.h	(revision d681c173694bd83b842b2932968cec935ec1f26f)
+++ uspace/libc/include/as.h	(revision 319e60e55b0b59b46de5960c99fbbfe193c9017a)
@@ -40,4 +40,7 @@
 #include <kernel/arch/mm/as.h>
 #include <kernel/mm/as.h>
+#include <libarch/config.h>
+
+#define PAGE_COLOR(va)	(((va) >> PAGE_WIDTH) & ((1 << PAGE_COLOR_BITS) - 1))
 
 extern void *as_area_create(void *address, size_t size, int flags);
@@ -45,5 +48,5 @@
 extern int as_area_destroy(void *address);
 extern void *set_maxheapsize(size_t mhs);
-extern void * as_get_mappable_page(size_t sz);
+extern void * as_get_mappable_page(size_t sz, int color);
 
 #endif
