diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-11-18 09:48:22 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-11-18 09:48:22 (GMT) |
commit | cb15e57cc7d68e524f709c9a541b4900df80df16 (patch) | |
tree | 1562f9bc1d2df008ffbb230f315fb2677154d022 /arch/blackfin/kernel/cplbinfo.c | |
parent | 05a717fbc893c777165b00821b9dcde968a95bcc (diff) | |
download | linux-fsl-qoriq-cb15e57cc7d68e524f709c9a541b4900df80df16.tar.xz |
Blackfin arch: noMMU CPLB lookup tables can be in L1 SRAM
- unify duplicate page_size_table definitions
- make sure it is placed alongside the other cplb switching code
Pointed-out-by: Michael McTernan <mmcternan@airvana.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/cplbinfo.c')
-rw-r--r-- | arch/blackfin/kernel/cplbinfo.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/blackfin/kernel/cplbinfo.c b/arch/blackfin/kernel/cplbinfo.c index dc584fe..723839d 100644 --- a/arch/blackfin/kernel/cplbinfo.c +++ b/arch/blackfin/kernel/cplbinfo.c @@ -59,12 +59,7 @@ static char *cplb_print_entry(char *buf, cplb_type type, unsigned int cpu) #else -static int page_size_table[4] = { - 0x00000400, /* 1K */ - 0x00001000, /* 4K */ - 0x00100000, /* 1M */ - 0x00400000 /* 4M */ -}; +extern int page_size_table[]; static int cplb_find_entry(unsigned long *cplb_addr, unsigned long *cplb_data, unsigned long addr, |