diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-08-31 23:59:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-31 23:59:37 -0400 |
commit | 5110bd21b8af4199b8332c0ab0b23367556653d3 (patch) | |
tree | fcd655bb454ee7b0382aa200d9a2e160465ac6ae /arch/sparc/mm/nosrmmu.c | |
parent | b69416b51be0757c82f1c5a0a3f0995a4484dab4 (diff) |
sparc: remove CONFIG_SUN4
While doing some easy cleanups on the sparc code I noticed that the
CONFIG_SUN4 code seems to be worse than the rest - there were some
"I don't know how it should work, but the current code definitely cannot
work." places.
And while I have seen people running Linux on machines like a
SPARCstation 5 a few years ago I don't recall having seen sun4
machines, even less ones running Linux.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/nosrmmu.c')
-rw-r--r-- | arch/sparc/mm/nosrmmu.c | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/arch/sparc/mm/nosrmmu.c b/arch/sparc/mm/nosrmmu.c deleted file mode 100644 index 4f061bb6ce78..000000000000 --- a/arch/sparc/mm/nosrmmu.c +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | /* | ||
2 | * nosrmmu.c: This file is a bunch of dummies for sun4 compiles, | ||
3 | * so that it does not need srmmu and avoid ifdefs. | ||
4 | * | ||
5 | * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) | ||
6 | */ | ||
7 | |||
8 | #include <linux/kernel.h> | ||
9 | #include <linux/mm.h> | ||
10 | #include <linux/init.h> | ||
11 | #include <asm/mbus.h> | ||
12 | |||
13 | static char shouldnothappen[] __initdata = "SUN4 kernel can only run on SUN4\n"; | ||
14 | |||
15 | enum mbus_module srmmu_modtype; | ||
16 | void *srmmu_nocache_pool; | ||
17 | |||
18 | int vac_cache_size = 0; | ||
19 | |||
20 | static void __init should_not_happen(void) | ||
21 | { | ||
22 | prom_printf(shouldnothappen); | ||
23 | prom_halt(); | ||
24 | } | ||
25 | |||
26 | void __init srmmu_frob_mem_map(unsigned long start_mem) | ||
27 | { | ||
28 | should_not_happen(); | ||
29 | } | ||
30 | |||
31 | unsigned long __init srmmu_paging_init(unsigned long start_mem, unsigned long end_mem) | ||
32 | { | ||
33 | should_not_happen(); | ||
34 | return 0; | ||
35 | } | ||
36 | |||
37 | void __init ld_mmu_srmmu(void) | ||
38 | { | ||
39 | should_not_happen(); | ||
40 | } | ||
41 | |||
42 | void srmmu_mapioaddr(unsigned long physaddr, unsigned long virt_addr, int bus_type, int rdonly) | ||
43 | { | ||
44 | } | ||
45 | |||
46 | void srmmu_unmapioaddr(unsigned long virt_addr) | ||
47 | { | ||
48 | } | ||
49 | |||
50 | __u32 iounit_map_dma_init(struct sbus_bus *sbus, int size) | ||
51 | { | ||
52 | return 0; | ||
53 | } | ||
54 | |||
55 | __u32 iounit_map_dma_page(__u32 vaddr, void *addr, struct sbus_bus *sbus) | ||
56 | { | ||
57 | return 0; | ||
58 | } | ||