[POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading
[pv_ops_mirror.git] / arch / sparc / mm / nosun4c.c
blobea2e2105341dcd6556c129deb1c3a950507fb7bf
1 /* $Id: nosun4c.c,v 1.3 2000/02/14 04:52:36 jj Exp $
2 * nosun4c.c: This file is a bunch of dummies for SMP compiles,
3 * so that it does not need sun4c and avoid ifdefs.
5 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
6 */
8 #include <linux/kernel.h>
9 #include <linux/mm.h>
10 #include <linux/init.h>
11 #include <asm/pgtable.h>
13 static char shouldnothappen[] __initdata = "32bit SMP kernel only supports sun4m and sun4d\n";
15 /* Dummies */
16 struct sun4c_mmu_ring {
17 unsigned long xxx1[3];
18 unsigned char xxx2[2];
19 int xxx3;
21 struct sun4c_mmu_ring sun4c_kernel_ring;
22 struct sun4c_mmu_ring sun4c_kfree_ring;
23 unsigned long sun4c_kernel_faults;
24 unsigned long *sun4c_memerr_reg;
26 static void __init should_not_happen(void)
28 prom_printf(shouldnothappen);
29 prom_halt();
32 unsigned long __init sun4c_paging_init(unsigned long start_mem, unsigned long end_mem)
34 should_not_happen();
35 return 0;
38 void __init ld_mmu_sun4c(void)
40 should_not_happen();
43 void sun4c_mapioaddr(unsigned long physaddr, unsigned long virt_addr, int bus_type, int rdonly)
47 void sun4c_unmapioaddr(unsigned long virt_addr)
51 void sun4c_complete_all_stores(void)
55 pte_t *sun4c_pte_offset(pmd_t * dir, unsigned long address)
57 return NULL;
60 pte_t *sun4c_pte_offset_kernel(pmd_t *dir, unsigned long address)
62 return NULL;
65 void sun4c_update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t pte)
69 void __init sun4c_probe_vac(void)
71 should_not_happen();
74 void __init sun4c_probe_memerr_reg(void)
76 should_not_happen();