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/highmem.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/highmem.c')
-rw-r--r-- | arch/i386/mm/highmem.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/i386/mm/highmem.c b/arch/i386/mm/highmem.c index fc4c4cad4e98..4b7aaf99d7ea 100644 --- a/arch/i386/mm/highmem.c +++ b/arch/i386/mm/highmem.c | |||
@@ -1,4 +1,5 @@ | |||
1 | #include <linux/highmem.h> | 1 | #include <linux/highmem.h> |
2 | #include <linux/module.h> | ||
2 | 3 | ||
3 | void *kmap(struct page *page) | 4 | void *kmap(struct page *page) |
4 | { | 5 | { |
@@ -87,3 +88,8 @@ struct page *kmap_atomic_to_page(void *ptr) | |||
87 | return pte_page(*pte); | 88 | return pte_page(*pte); |
88 | } | 89 | } |
89 | 90 | ||
91 | EXPORT_SYMBOL(kmap); | ||
92 | EXPORT_SYMBOL(kunmap); | ||
93 | EXPORT_SYMBOL(kmap_atomic); | ||
94 | EXPORT_SYMBOL(kunmap_atomic); | ||
95 | EXPORT_SYMBOL(kmap_atomic_to_page); | ||