Skip to content
Commit 9c62cc67 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

kernel: Add kswap.h header to unbreak cycles



The xtensa-asm2 work included a patch that added nano_internal.h
includes in lots of places that needed to have _Swap defined, because
it had to break a cycle and this no longer got pulled in from the arch
headers.

Unfortunately those new includes created new and more amusing cycles
elsewhere which led to breakage on other platforms.

Break out the _Swap definition (only) into a separate header and use
that instead.  Cleaner.  Seems not to have any more hidden gotchas.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 73678c43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment