Orangefs: Swap order of include files
PATCH 1/1 Orangefs: Swap order of include files
spinlock_types.h requires types from linux/types.h.
Including spinlock_types.h first may result in the following build errors, as seen with arm:allmodconfig.
arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32' arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
Fixes deb4fb58ff73 ("Orangefs: kernel client part 2")
Cc Mark Brown <[email protected]>
Cc Mike Marshall <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- fs/orangefs/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/orangefs/protocol.h +1 -1
@@ -1,5 +1,5 @@ -#include <linux/spinlock_types.h> #include <linux/types.h> +#include <linux/spinlock_types.h> #include <linux/slab.h> #include <linux/ioctl.h>
Signature · 1 line
2.1.4