--- zzzz-none-000/linux-2.6.39.4/include/linux/linkage.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/linkage.h 2021-11-10 13:38:17.000000000 +0000 @@ -4,6 +4,11 @@ #include #include + +/* +#define notrace __attribute ((no_instrument_function)) +*/ + #ifdef __cplusplus #define CPP_ASMLINKAGE extern "C" #else @@ -14,6 +19,11 @@ #define asmlinkage CPP_ASMLINKAGE #endif +#ifndef prevent_tail_call +# define prevent_tail_call(ret) do { } while (0) +#endif + + #ifndef asmregparm # define asmregparm #endif @@ -96,4 +106,9 @@ #define ATTRIB_NORET __attribute__((noreturn)) #define NORET_AND noreturn, +#ifndef FASTCALL +#define FASTCALL(x) x +#define fastcall +#endif + #endif