diff options
author | Ben Dooks <ben-linux@fluff.org> | 2006-03-15 18:17:30 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-15 18:17:30 -0500 |
commit | 0fc1c832123493aca4c6a8600179132651f48bdc (patch) | |
tree | 08f0d346bbd9d55ef9cf9e965ea3bdfb76aa423d /arch | |
parent | dabaeff06cca86048cfa3f74ce59688bc3addba9 (diff) |
[ARM] 3365/1: [cleanup] header for compat.c exported functions
Patch from Ben Dooks
arch/arm/kernel/compat.c exports two functions,
convert_to_tag_list and squash_mem_tags which
are not defined in any header files, and not
used outside arch/arm/kernel.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/compat.c | 2 | ||||
-rw-r--r-- | arch/arm/kernel/compat.h | 13 | ||||
-rw-r--r-- | arch/arm/kernel/setup.c | 4 |
3 files changed, 17 insertions, 2 deletions
diff --git a/arch/arm/kernel/compat.c b/arch/arm/kernel/compat.c index 7195add42e74..60cfa7f3226c 100644 --- a/arch/arm/kernel/compat.c +++ b/arch/arm/kernel/compat.c | |||
@@ -27,6 +27,8 @@ | |||
27 | 27 | ||
28 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
29 | 29 | ||
30 | #include "compat.h" | ||
31 | |||
30 | /* | 32 | /* |
31 | * Usage: | 33 | * Usage: |
32 | * - do not go blindly adding fields, add them at the end | 34 | * - do not go blindly adding fields, add them at the end |
diff --git a/arch/arm/kernel/compat.h b/arch/arm/kernel/compat.h new file mode 100644 index 000000000000..27e61a68bd1c --- /dev/null +++ b/arch/arm/kernel/compat.h | |||
@@ -0,0 +1,13 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/kernel/compat.h | ||
3 | * | ||
4 | * Copyright (C) 2001 Russell King | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | extern void convert_to_tag_list(struct tag *tags); | ||
12 | |||
13 | extern void squash_mem_tags(struct tag *tag); | ||
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 68273b4dc882..c214dc56be4a 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -37,6 +37,8 @@ | |||
37 | #include <asm/mach/irq.h> | 37 | #include <asm/mach/irq.h> |
38 | #include <asm/mach/time.h> | 38 | #include <asm/mach/time.h> |
39 | 39 | ||
40 | #include "compat.h" | ||
41 | |||
40 | #ifndef MEM_SIZE | 42 | #ifndef MEM_SIZE |
41 | #define MEM_SIZE (16*1024*1024) | 43 | #define MEM_SIZE (16*1024*1024) |
42 | #endif | 44 | #endif |
@@ -55,8 +57,6 @@ __setup("fpe=", fpe_setup); | |||
55 | 57 | ||
56 | extern unsigned int mem_fclk_21285; | 58 | extern unsigned int mem_fclk_21285; |
57 | extern void paging_init(struct meminfo *, struct machine_desc *desc); | 59 | extern void paging_init(struct meminfo *, struct machine_desc *desc); |
58 | extern void convert_to_tag_list(struct tag *tags); | ||
59 | extern void squash_mem_tags(struct tag *tag); | ||
60 | extern void reboot_setup(char *str); | 60 | extern void reboot_setup(char *str); |
61 | extern int root_mountflags; | 61 | extern int root_mountflags; |
62 | extern void _stext, _text, _etext, __data_start, _edata, _end; | 62 | extern void _stext, _text, _etext, __data_start, _edata, _end; |