backports: fix version check for page_is_pfmemalloc
PATCH 1/1 backports: fix version check for page_is_pfmemalloc
The upstream commit that added it was backported in 4.1.9
Signed-off-by Felix Fietkau <[email protected]>
--- backport/backport-include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
backport/backport-include/linux/mm.h +1 -1
@@ -95,7 +95,7 @@ static inline unsigned long *frame_vector_pfns(struct frame_vector *vec) }#endif -#if LINUX_VERSION_CODE <KERNEL_VERSION (4 ,2 ,0 ) && \ +#if LINUX_VERSION_CODE <KERNEL_VERSION (4 ,1 ,9 ) && \LINUX_VERSION_CODE >=KERNEL_VERSION (3 ,6 ,0 )#define page_is_pfmemalloc LINUX_BACKPORT(page_is_pfmemalloc)static inline bool page_is_pfmemalloc (struct page *page)
Signature · 4 lines
2.2.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in
Quoted 7 lines · Felix Fietkau
The upstream commit that added it was backported in 4.1.9
Signed-off-by Felix Fietkau <[email protected]>--- backport/backport-include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you for the patch I applied it.
Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in