diff options
Diffstat (limited to 'arch/sparc/mm/srmmu.c')
| -rw-r--r-- | arch/sparc/mm/srmmu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index b0b43aa5e45a..92319aa8b662 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c | |||
| @@ -1262,7 +1262,8 @@ extern unsigned long bootmem_init(unsigned long *pages_avail); | |||
| 1262 | 1262 | ||
| 1263 | void __init srmmu_paging_init(void) | 1263 | void __init srmmu_paging_init(void) |
| 1264 | { | 1264 | { |
| 1265 | int i, cpunode; | 1265 | int i; |
| 1266 | phandle cpunode; | ||
| 1266 | char node_str[128]; | 1267 | char node_str[128]; |
| 1267 | pgd_t *pgd; | 1268 | pgd_t *pgd; |
| 1268 | pmd_t *pmd; | 1269 | pmd_t *pmd; |
| @@ -1398,7 +1399,8 @@ static void __init srmmu_is_bad(void) | |||
| 1398 | 1399 | ||
| 1399 | static void __init init_vac_layout(void) | 1400 | static void __init init_vac_layout(void) |
| 1400 | { | 1401 | { |
| 1401 | int nd, cache_lines; | 1402 | phandle nd; |
| 1403 | int cache_lines; | ||
| 1402 | char node_str[128]; | 1404 | char node_str[128]; |
| 1403 | #ifdef CONFIG_SMP | 1405 | #ifdef CONFIG_SMP |
| 1404 | int cpu = 0; | 1406 | int cpu = 0; |
| @@ -2082,7 +2084,7 @@ static void __init get_srmmu_type(void) | |||
| 2082 | 2084 | ||
| 2083 | /* Next check for Fujitsu Swift. */ | 2085 | /* Next check for Fujitsu Swift. */ |
| 2084 | if(psr_typ == 0 && psr_vers == 4) { | 2086 | if(psr_typ == 0 && psr_vers == 4) { |
| 2085 | int cpunode; | 2087 | phandle cpunode; |
| 2086 | char node_str[128]; | 2088 | char node_str[128]; |
| 2087 | 2089 | ||
| 2088 | /* Look if it is not a TurboSparc emulating Swift... */ | 2090 | /* Look if it is not a TurboSparc emulating Swift... */ |
