Virtualization changes to handle X2APIC mode.
[akaros.git] / kern / arch / riscv / atomic.h
index 7ba7f2c..e57815d 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef ROS_KERN_ARCH_ATOMIC_H
-#define ROS_KERN_ARCH_ATOMIC_H
+#pragma once
 
 #include <ros/common.h>
 #include <arch/arch.h>
@@ -154,5 +153,3 @@ static inline void __spinlock_init(spinlock_t *lock)
 {
        lock->rlock = 0;
 }
-
-#endif /* ROS_KERN_ARCH_ATOMIC_H */