Browse Source

sparc: drop SUN_IO

SUN_IO is always 'y' so drop it and thus killing an ifdef/endif pair

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Sam Ravnborg 16 years ago
parent
commit
c4a4a21977
2 changed files with 0 additions and 6 deletions
  1. 0 4
      arch/sparc/Kconfig
  2. 0 2
      arch/sparc/mm/srmmu.c

+ 0 - 4
arch/sparc/Kconfig

@@ -469,10 +469,6 @@ config SBUSCHAR
 	bool
 	bool
 	default y
 	default y
 
 
-config SUN_IO
-	bool
-	default y
-
 config SUN_LDOMS
 config SUN_LDOMS
 	bool "Sun Logical Domains support"
 	bool "Sun Logical Domains support"
 	depends on SPARC64
 	depends on SPARC64

+ 0 - 2
arch/sparc/mm/srmmu.c

@@ -1312,10 +1312,8 @@ void __init srmmu_paging_init(void)
 #endif
 #endif
 	poke_srmmu();
 	poke_srmmu();
 
 
-#ifdef CONFIG_SUN_IO
 	srmmu_allocate_ptable_skeleton(sparc_iomap.start, IOBASE_END);
 	srmmu_allocate_ptable_skeleton(sparc_iomap.start, IOBASE_END);
 	srmmu_allocate_ptable_skeleton(DVMA_VADDR, DVMA_END);
 	srmmu_allocate_ptable_skeleton(DVMA_VADDR, DVMA_END);
-#endif
 
 
 	srmmu_allocate_ptable_skeleton(
 	srmmu_allocate_ptable_skeleton(
 		__fix_to_virt(__end_of_fixed_addresses - 1), FIXADDR_TOP);
 		__fix_to_virt(__end_of_fixed_addresses - 1), FIXADDR_TOP);