diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index d531e30b9754244f1459d11695949a361fcd0df7..bea6c90a9b8285f4f809773268b8c0fbd84c9bfc 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -1605715,6 +1605715,19 @@ index e07f6e61c..7cdc5dfa4 100644 + struct rk808_pin_info *pins; }; #endif /* __LINUX_REGULATOR_RK808_H */ +diff --git a/include/linux/mm.h b/include/linux/mm.h +index c9b37ce2db0b..ab9e25f88808 100644 +--- a/include/linux/mm.h ++++ b/include/linux/mm.h +@@ -2898,6 +2898,8 @@ extern bool page_poisoning_enabled(void); + extern void kernel_poison_pages(struct page *page, int numpages, int enable); + #else + static inline bool page_poisoning_enabled(void) { return false; } ++static inline bool page_poisoning_enabled_static(void) { return false; } ++static inline void __kernel_poison_pages(struct page *page, int nunmpages) { } + static inline void kernel_poison_pages(struct page *page, int numpages, + int enable) { } + #endif diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 40d7e98fc..819f6119d 100644 --- a/include/linux/mmc/host.h