diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-06-25 21:15:24 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-26 11:08:54 +0100 |
commit | a4df02a217e9787a4b967197d9d9030c3e3c1088 (patch) | |
tree | 4f32cbd30553494fa55d1cf2ecf294265196dc69 /arch/m68k/sun3/dvma.c | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | op-kernel-dev-a4df02a217e9787a4b967197d9d9030c3e3c1088.zip op-kernel-dev-a4df02a217e9787a4b967197d9d9030c3e3c1088.tar.gz |
m68k: Mark functions only called from setup_arch() __init
Some functions that are only called (indirectly) from setup_arch() lack
__init annotations.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/sun3/dvma.c')
-rw-r--r-- | arch/m68k/sun3/dvma.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m68k/sun3/dvma.c b/arch/m68k/sun3/dvma.c index d522eaa..d95506e 100644 --- a/arch/m68k/sun3/dvma.c +++ b/arch/m68k/sun3/dvma.c @@ -7,6 +7,7 @@ * */ +#include <linux/init.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/bootmem.h> @@ -62,10 +63,7 @@ int dvma_map_iommu(unsigned long kaddr, unsigned long baddr, } -void sun3_dvma_init(void) +void __init sun3_dvma_init(void) { - memset(ptelist, 0, sizeof(ptelist)); - - } |