unified: include kernel.h via major top-level header files

This allows current code to build but using the definitions from
kernel.h instead of the original headers.

Change-Id: I8f51a83bab4448cd63aa6c54b8e357a8ad6cc1e2
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
Benjamin Walsh 2016-09-02 16:59:34 -04:00
commit 5d23818070
4 changed files with 29 additions and 7 deletions

View file

@ -451,11 +451,15 @@ int device_busy_check(struct device *chk_dev);
* Synchronous calls API
*/
#include <stdbool.h>
#ifdef CONFIG_KERNEL_V2
#include <kernel.h>
#else
#include <nanokernel.h>
#ifdef CONFIG_MICROKERNEL
#include <microkernel.h>
#endif
#endif
#include <stdbool.h>
/**
* Specific type for synchronizing calls among the 2 possible contexts