git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
m68k
/
mm
/
kmap.c
diff --git
a/arch/m68k/mm/kmap.c
b/arch/m68k/mm/kmap.c
index
f46f049
..
46b7d60
100644
(file)
--- a/
arch/m68k/mm/kmap.c
+++ b/
arch/m68k/mm/kmap.c
@@
-7,6
+7,7
@@
* used by other architectures /Roman Zippel
*/
* used by other architectures /Roman Zippel
*/
+#include <linux/module.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/string.h>
@@
-58,7
+59,7
@@
static struct vm_struct *get_io_area(unsigned long size)
unsigned long addr;
struct vm_struct **p, *tmp, *area;
unsigned long addr;
struct vm_struct **p, *tmp, *area;
- area =
(struct vm_struct *)
kmalloc(sizeof(*area), GFP_KERNEL);
+ area = kmalloc(sizeof(*area), GFP_KERNEL);
if (!area)
return NULL;
addr = KMAP_START;
if (!area)
return NULL;
addr = KMAP_START;
@@
-219,6
+220,7
@@
void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cachefla
return (void __iomem *)retaddr;
}
return (void __iomem *)retaddr;
}
+EXPORT_SYMBOL(__ioremap);
/*
* Unmap a ioremap()ed region again
/*
* Unmap a ioremap()ed region again
@@
-234,6
+236,7
@@
void iounmap(void __iomem *addr)
free_io_area((__force void *)addr);
#endif
}
free_io_area((__force void *)addr);
#endif
}
+EXPORT_SYMBOL(iounmap);
/*
* __iounmap unmaps nearly everything, so be careful
/*
* __iounmap unmaps nearly everything, so be careful
@@
-360,3
+363,4
@@
void kernel_set_cachemode(void *addr, unsigned long size, int cmode)
flush_tlb_all();
}
flush_tlb_all();
}
+EXPORT_SYMBOL(kernel_set_cachemode);