All the kernel header files now use pargma once rather than the ifndef, as the pre-processed C files do not change while header files are protected with pargma once. This will also solve any naming issues caused by ifndef.
17 lines
268 B
C
17 lines
268 B
C
/*
|
|
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <config.h>
|
|
#include <util.h>
|
|
|
|
#ifdef ENABLE_SMP_SUPPORT
|
|
#define KERNEL_STACK_ALIGNMENT 4096
|
|
#else
|
|
#define KERNEL_STACK_ALIGNMENT 4
|
|
#endif
|
|
|