Remove the BUILD_INFO_FILE variable
[akaros.git] / kern / arch / riscv / colored_page_alloc.h
index 4aa5813..0b629f1 100644 (file)
@@ -1,14 +1,13 @@
 /*
- * Copyright (c) 2009 The Regents of the University  of California.  
- * See the COPYRIGHT files at the top of this source tree for full 
+ * Copyright (c) 2009 The Regents of the University  of California.
+ * See the COPYRIGHT files at the top of this source tree for full
  * license information.
  */
 /**
  * @author Kevin Klues <klueska@cs.berkeley.edu>
  */
-#ifndef ROS_KERN_ARCH_COLORED_PAGE_ALLOC_H
-#define ROS_KERN_ARCH_COLORED_PAGE_ALLOC_H
+
+#pragma once
 
 /********** Page Coloring Related Macros ************/
 // Define these to make sure that each level of the cache
        DECLARE_CACHE_COLORED_PAGE_FREE_LIST(l1)                  \
        DECLARE_CACHE_COLORED_PAGE_FREE_LIST(l2)                  \
        DECLARE_CACHE_COLORED_PAGE_FREE_LIST(l3)
-       
+
 #define DECLARE_EXTERN_CACHE_COLORED_PAGE_FREE_LISTS()        \
        DECLARE_EXTERN_CACHE_COLORED_PAGE_FREE_LIST(l1)           \
        DECLARE_EXTERN_CACHE_COLORED_PAGE_FREE_LIST(l2)           \
        DECLARE_EXTERN_CACHE_COLORED_PAGE_FREE_LIST(l3)
-       
+
 #define DECLARE_CACHE_COLORED_PAGE_ALLOC_FUNCTIONS()          \
        DECLARE_CACHE_COLORED_PAGE_ALLOC_FUNCTION(l1)             \
        DECLARE_CACHE_COLORED_PAGE_ALLOC_FUNCTION(l2)             \
        REMOVE_CACHE_COLORING_PAGE_FROM_FREE_LIST(page, l1)       \
        REMOVE_CACHE_COLORING_PAGE_FROM_FREE_LIST(page, l2)       \
        REMOVE_CACHE_COLORING_PAGE_FROM_FREE_LIST(page, l3)
-       
+
 #define INSERT_CACHE_COLORING_PAGE_ONTO_FREE_LISTS(page)      \
        INSERT_CACHE_COLORING_PAGE_ONTO_FREE_LIST(page, l1)       \
        INSERT_CACHE_COLORING_PAGE_ONTO_FREE_LIST(page, l2)       \
        INSERT_CACHE_COLORING_PAGE_ONTO_FREE_LIST(page, l3)
-
-#endif // CACHE_COLORING_PAGE_ALLOC_H