Commit 1a336f5d authored by Roman Zippel's avatar Roman Zippel Committed by Linus Torvalds

[PATCH] add missing <linux/config.h>

A few asm/types.h test a config variable without including
<linux/config.h> first, which can e.g. cause different sector_t
definitions. HFS fell victim to that and broke on ppc with CONFIG_LBD
enabled. I scanned all asm/types.h and added <linux/config.h> as
necessary.
parent a9b095e4
......@@ -37,6 +37,8 @@ typedef unsigned short umode_t;
#ifndef __ASSEMBLY__
#include <linux/config.h>
typedef signed char s8;
typedef unsigned char u8;
......
......@@ -58,6 +58,8 @@ typedef __signed__ long saddr_t;
#ifndef __ASSEMBLY__
#include <linux/config.h>
typedef signed char s8;
typedef unsigned char u8;
......
......@@ -35,6 +35,8 @@ typedef unsigned long long __u64;
#ifndef __ASSEMBLY__
#include <linux/config.h>
typedef __signed__ char s8;
typedef unsigned char u8;
......
......@@ -33,6 +33,8 @@ typedef unsigned long long __u64;
#ifndef __ASSEMBLY__
#include <linux/config.h>
typedef signed char s8;
typedef unsigned char u8;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment