[arch] move the atomic ops into a separate header

Now you need to include arch/atomic.h to get to the atomic routines.
This simplifies a recusion issue in the way arch/ops.h included
arch_ops. Also just generally makes things cleaner.
This commit is contained in:
Travis Geiselbrecht
2020-05-16 14:58:03 -07:00
parent 556c985b0c
commit f371fa246b
13 changed files with 144 additions and 100 deletions

View File

@@ -8,6 +8,7 @@
#include <kernel/mp.h>
#include <arch/atomic.h>
#include <arch/mp.h>
#include <assert.h>
#include <kernel/spinlock.h>