CLEANUP: Remove trailing whitespace throughout the kernel.
[akaros.git] / kern / arch / riscv / smp.h
index b71f0de..1ee7ffd 100644 (file)
@@ -1,16 +1,13 @@
-#ifndef ROS_ARCH_SMP_H
-#define ROS_ARCH_SMP_H
+#pragma once
 
 #include <ros/common.h>
 #include <arch/arch.h>
 #include <atomic.h>
 
-typedef volatile uint8_t wait_list_t[MAX_NUM_CPUS];
+typedef volatile uint8_t wait_list_t[MAX_NUM_CORES];
 
 typedef struct
 {
        wait_list_t wait_list;
        spinlock_t lock;
 } handler_wrapper_t;
-
-#endif /* !ROS_ARCH_SMP_H */