diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2005-06-23 03:08:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:11 -0400 |
commit | 129f69465b411592247c408f93d7106939223be1 (patch) | |
tree | f585dff5c44ffdd0ee4ce05dec56dbc8477eb909 /arch/i386/mm/discontig.c | |
parent | a9ed8817966dd723754a990f1003264a21b5747e (diff) |
[PATCH] Remove i386_ksyms.c, almost.
* EXPORT_SYMBOL's moved to other files
* #include <linux/config.h>, <linux/module.h> where needed
* #include's in i386_ksyms.c cleaned up
* After copy-paste, redundant due to Makefiles rules preprocessor directives
removed:
#ifdef CONFIG_FOO
EXPORT_SYMBOL(foo);
#endif
obj-$(CONFIG_FOO) += foo.o
* Tiny reformat to fit in 80 columns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/mm/discontig.c')
-rw-r--r-- | arch/i386/mm/discontig.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/mm/discontig.c b/arch/i386/mm/discontig.c index 0efeb96ba5d4..f429c871e845 100644 --- a/arch/i386/mm/discontig.c +++ b/arch/i386/mm/discontig.c | |||
@@ -29,12 +29,14 @@ | |||
29 | #include <linux/highmem.h> | 29 | #include <linux/highmem.h> |
30 | #include <linux/initrd.h> | 30 | #include <linux/initrd.h> |
31 | #include <linux/nodemask.h> | 31 | #include <linux/nodemask.h> |
32 | #include <linux/module.h> | ||
32 | #include <asm/e820.h> | 33 | #include <asm/e820.h> |
33 | #include <asm/setup.h> | 34 | #include <asm/setup.h> |
34 | #include <asm/mmzone.h> | 35 | #include <asm/mmzone.h> |
35 | #include <bios_ebda.h> | 36 | #include <bios_ebda.h> |
36 | 37 | ||
37 | struct pglist_data *node_data[MAX_NUMNODES]; | 38 | struct pglist_data *node_data[MAX_NUMNODES]; |
39 | EXPORT_SYMBOL(node_data); | ||
38 | bootmem_data_t node0_bdata; | 40 | bootmem_data_t node0_bdata; |
39 | 41 | ||
40 | /* | 42 | /* |
@@ -63,6 +65,7 @@ unsigned long node_end_pfn[MAX_NUMNODES]; | |||
63 | * physnode_map[8- ] = -1; | 65 | * physnode_map[8- ] = -1; |
64 | */ | 66 | */ |
65 | s8 physnode_map[MAX_ELEMENTS] = { [0 ... (MAX_ELEMENTS - 1)] = -1}; | 67 | s8 physnode_map[MAX_ELEMENTS] = { [0 ... (MAX_ELEMENTS - 1)] = -1}; |
68 | EXPORT_SYMBOL(physnode_map); | ||
66 | 69 | ||
67 | void memory_present(int nid, unsigned long start, unsigned long end) | 70 | void memory_present(int nid, unsigned long start, unsigned long end) |
68 | { | 71 | { |