aa64: finalise context switch, page fault handler and syscall
[lunaix-os.git] / lunaix-os / arch / aarch64 / includes / asm / bits.h
index 29ed7bf552975ace889653de0990e0e5cab943c2..9e2e319f6014013dca27a987463d99a9b5d8aa87 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <asm-generic/bits.h>
 
+#ifndef __ASM__
 #undef _BITS_EXTRACT
 #undef _BITS_INSERT
 
@@ -27,5 +28,5 @@
             _r;                         \
         })
 
-
+#endif
 #endif /* __LUNAIX_ARCH_BITS_H */