include-linux-unaligned-replace-kernelh-with-the-necessary-inclusions.patch removed from -mm tree
The patch titled
Subject: include/linux/unaligned: replace kernel.h with the necessary inclusions
has been removed from the -mm tree. Its filename was
include-linux-unaligned-replace-kernelh-with-the-necessary-inclusions.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Andy Shevchenko <[email protected]>
Subject: include/linux/unaligned: replace kernel.h with the necessary inclusions
When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved.
Replace kernel.h inclusion with the list of what is really being used.
The rest of the changes are induced by the above and may not be split.
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/xtlv.c | 2 ++ include/linux/unaligned/packed_struct.h | 2 +- lib/lz4/lz4defs.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/xtlv.c renamed from drivers/net/wireless/broadcom/brcm80211/brcmfmac/xtlv.c~include-linux-unaligned-replace-kernelh-with-the-necessary-inclusions +2 -0
@@ -4,6 +4,8 @@*/ #include <asm/unaligned.h> + +#include <linux/math.h> #include <linux/string.h> #include <linux/bug.h>
include/linux/unaligned/packed_struct.h renamed from include/linux/unaligned/packed_struct.h~include-linux-unaligned-replace-kernelh-with-the-necessary-inclusions +1 -1
@@ -1,7 +1,7 @@#ifndef _LINUX_UNALIGNED_PACKED_STRUCT_H#define _LINUX_UNALIGNED_PACKED_STRUCT_H -#include <linux/kernel.h> +#include <linux/types.h> struct __una_u16 {u16 x; } __packed;struct __una_u32 {u32 x; } __packed;
lib/lz4/lz4defs.h renamed from lib/lz4/lz4defs.h~include-linux-unaligned-replace-kernelh-with-the-necessary-inclusions +2 -0
@@ -36,6 +36,8 @@*/ #include <asm/unaligned.h> + +#include <linux/bitops.h> #include <linux/string.h> /* memset, memcpy */ #define FORCE_INLINE __always_inline
_
Patches currently in -mm which might be from [email protected] are