include: kernel: Fix typo
It should be "will be called with" instead of "will be called will". Signed-off-by: Tom Hughes <tomhughes@chromium.org>
This commit is contained in:
parent
f610e384e4
commit
a4f702b857
1 changed files with 2 additions and 2 deletions
|
@ -6346,7 +6346,7 @@ static inline void k_cpu_atomic_idle(unsigned int key)
|
||||||
* This should be called when a thread has encountered an unrecoverable
|
* This should be called when a thread has encountered an unrecoverable
|
||||||
* runtime condition and needs to terminate. What this ultimately
|
* runtime condition and needs to terminate. What this ultimately
|
||||||
* means is determined by the _fatal_error_handler() implementation, which
|
* means is determined by the _fatal_error_handler() implementation, which
|
||||||
* will be called will reason code K_ERR_KERNEL_OOPS.
|
* will be called with reason code K_ERR_KERNEL_OOPS.
|
||||||
*
|
*
|
||||||
* If this is called from ISR context, the default system fatal error handler
|
* If this is called from ISR context, the default system fatal error handler
|
||||||
* will treat it as an unrecoverable system error, just like k_panic().
|
* will treat it as an unrecoverable system error, just like k_panic().
|
||||||
|
@ -6359,7 +6359,7 @@ static inline void k_cpu_atomic_idle(unsigned int key)
|
||||||
* This should be called when the Zephyr kernel has encountered an
|
* This should be called when the Zephyr kernel has encountered an
|
||||||
* unrecoverable runtime condition and needs to terminate. What this ultimately
|
* unrecoverable runtime condition and needs to terminate. What this ultimately
|
||||||
* means is determined by the _fatal_error_handler() implementation, which
|
* means is determined by the _fatal_error_handler() implementation, which
|
||||||
* will be called will reason code K_ERR_KERNEL_PANIC.
|
* will be called with reason code K_ERR_KERNEL_PANIC.
|
||||||
*/
|
*/
|
||||||
#define k_panic() z_except_reason(K_ERR_KERNEL_PANIC)
|
#define k_panic() z_except_reason(K_ERR_KERNEL_PANIC)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue