Blackfin arch: mark some functions as __init as they are only called from __init functions

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
Mike Frysinger 2008-08-14 14:35:20 +08:00 committed by Bryan Wu
parent 7ab37da52d
commit 9216bbc838
7 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@
#include <asm/cplbinit.h> #include <asm/cplbinit.h>
#if defined(CONFIG_BFIN_ICACHE) #if defined(CONFIG_BFIN_ICACHE)
void bfin_icache_init(void) void __init bfin_icache_init(void)
{ {
unsigned long ctrl; unsigned long ctrl;
int i; int i;
@ -43,7 +43,7 @@ void bfin_icache_init(void)
#endif #endif
#if defined(CONFIG_BFIN_DCACHE) #if defined(CONFIG_BFIN_DCACHE)
void bfin_dcache_init(void) void __init bfin_dcache_init(void)
{ {
unsigned long ctrl; unsigned long ctrl;
int i; int i;

View File

@ -25,7 +25,7 @@
#include <asm/cplbinit.h> #include <asm/cplbinit.h>
#if defined(CONFIG_BFIN_ICACHE) #if defined(CONFIG_BFIN_ICACHE)
void bfin_icache_init(void) void __init bfin_icache_init(void)
{ {
unsigned long *table = icplb_table; unsigned long *table = icplb_table;
unsigned long ctrl; unsigned long ctrl;
@ -47,7 +47,7 @@ void bfin_icache_init(void)
#endif #endif
#if defined(CONFIG_BFIN_DCACHE) #if defined(CONFIG_BFIN_DCACHE)
void bfin_dcache_init(void) void __init bfin_dcache_init(void)
{ {
unsigned long *table = dcplb_table; unsigned long *table = dcplb_table;
unsigned long ctrl; unsigned long ctrl;

View File

@ -31,7 +31,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
void program_IAR(void) void __init program_IAR(void)
{ {
/* Program the IAR0 Register with the configured priority */ /* Program the IAR0 Register with the configured priority */
bfin_write_SIC_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) | bfin_write_SIC_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) |

View File

@ -31,7 +31,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
void program_IAR(void) void __init program_IAR(void)
{ {
/* Program the IAR0 Register with the configured priority */ /* Program the IAR0 Register with the configured priority */
bfin_write_SIC_IAR0(((CONFIG_PLLWAKE_ERROR - 7) << PLLWAKE_ERROR_POS) | bfin_write_SIC_IAR0(((CONFIG_PLLWAKE_ERROR - 7) << PLLWAKE_ERROR_POS) |

View File

@ -31,7 +31,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
void program_IAR(void) void __init program_IAR(void)
{ {
/* Program the IAR0 Register with the configured priority */ /* Program the IAR0 Register with the configured priority */
bfin_write_SIC_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) | bfin_write_SIC_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) |

View File

@ -31,7 +31,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
void program_IAR(void) void __init program_IAR(void)
{ {
/* Program the IAR0 Register with the configured priority */ /* Program the IAR0 Register with the configured priority */
bfin_write_SIC_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) | bfin_write_SIC_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) |

View File

@ -31,7 +31,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
void program_IAR(void) void __init program_IAR(void)
{ {
/* Program the IAR0 Register with the configured priority */ /* Program the IAR0 Register with the configured priority */
bfin_write_SICA_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) | bfin_write_SICA_IAR0(((CONFIG_IRQ_PLL_WAKEUP - 7) << IRQ_PLL_WAKEUP_POS) |