--- zzzz-none-000/linux-4.4.271/include/linux/kernel.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/include/linux/kernel.h 2023-04-19 10:22:30.000000000 +0000 @@ -28,6 +28,7 @@ #define LLONG_MIN (-LLONG_MAX - 1) #define ULLONG_MAX (~0ULL) #define SIZE_MAX (~(size_t)0) +#define PHYS_ADDR_MAX (~(phys_addr_t)0) #define U8_MAX ((u8)~0U) #define S8_MAX ((s8)(U8_MAX>>1)) @@ -493,6 +494,7 @@ #define TAINT_UNSIGNED_MODULE 13 #define TAINT_SOFTLOCKUP 14 #define TAINT_LIVEPATCH 15 +#define TAINT_ALLOC_FAIL 16 extern const char hex_asc[]; #define hex_asc_lo(x) hex_asc[((x) & 0x0f)]