aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/boot/boot.h3
-rw-r--r--arch/x86/boot/compressed/misc.h1
-rw-r--r--arch/x86/boot/compressed/string.c2
-rw-r--r--arch/x86/boot/ctype.h (renamed from arch/x86/boot/isdigit.h)0
4 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h
index 00cf51cfc2e6..c7093bd9f2d3 100644
--- a/arch/x86/boot/boot.h
+++ b/arch/x86/boot/boot.h
@@ -28,6 +28,7 @@
28#include "bitops.h" 28#include "bitops.h"
29#include <asm/cpufeature.h> 29#include <asm/cpufeature.h>
30#include <asm/processor-flags.h> 30#include <asm/processor-flags.h>
31#include "ctype.h"
31 32
32/* Useful macros */ 33/* Useful macros */
33#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) 34#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
@@ -200,8 +201,6 @@ static inline int memcmp_gs(const void *s1, addr_t s2, size_t len)
200 return diff; 201 return diff;
201} 202}
202 203
203#include "isdigit.h"
204
205/* Heap -- available for dynamic lists. */ 204/* Heap -- available for dynamic lists. */
206extern char _end[]; 205extern char _end[];
207extern char *HEAP; 206extern char *HEAP;
diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h
index a267849ac1c9..3f19c81a6203 100644
--- a/arch/x86/boot/compressed/misc.h
+++ b/arch/x86/boot/compressed/misc.h
@@ -20,6 +20,7 @@
20#include <asm/bootparam.h> 20#include <asm/bootparam.h>
21 21
22#define BOOT_BOOT_H 22#define BOOT_BOOT_H
23#include "../ctype.h"
23 24
24/* misc.c */ 25/* misc.c */
25extern struct boot_params *real_mode; /* Pointer to real-mode data */ 26extern struct boot_params *real_mode; /* Pointer to real-mode data */
diff --git a/arch/x86/boot/compressed/string.c b/arch/x86/boot/compressed/string.c
index 7995c6a49509..19b3e693cd72 100644
--- a/arch/x86/boot/compressed/string.c
+++ b/arch/x86/boot/compressed/string.c
@@ -1,4 +1,2 @@
1#include "misc.h" 1#include "misc.h"
2
3#include "../isdigit.h"
4#include "../string.c" 2#include "../string.c"
diff --git a/arch/x86/boot/isdigit.h b/arch/x86/boot/ctype.h
index 25e13403193c..25e13403193c 100644
--- a/arch/x86/boot/isdigit.h
+++ b/arch/x86/boot/ctype.h