forked from wolfSSL/wolfssl
linuxkm: retain noinline from kernel headers, and use it directly in wolfssl/wolfcrypt/sp.h.
This commit is contained in:
@@ -37,7 +37,9 @@
|
||||
|
||||
#include <wolfssl/wolfcrypt/ecc.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#ifdef noinline
|
||||
#define SP_NOINLINE noinline
|
||||
#elif defined(_MSC_VER)
|
||||
#define SP_NOINLINE __declspec(noinline)
|
||||
#elif defined(__ICCARM__) || defined(__IAR_SYSTEMS_ICC__)
|
||||
#define SP_NOINLINE _Pragma("inline = never")
|
||||
|
@@ -95,8 +95,6 @@
|
||||
*/
|
||||
#undef current
|
||||
|
||||
#undef noinline
|
||||
|
||||
/* prevent gcc's mm_malloc.h from being included, since it unconditionally includes stdlib.h, which is kernel-incompatible: */
|
||||
#define _MM_MALLOC_H_INCLUDED
|
||||
|
||||
|
Reference in New Issue
Block a user