Root/
Source at commit 0de2b2b3be81048189a32f7a3d3ba0ba9ec817b6 created 11 years 11 months ago. By Maarten ter Huurne, MIPS: JZ4740: Fixed value for round robin constant. | |
---|---|
1 | /* |
2 | * nosun4c.c: This file is a bunch of dummies for SMP compiles, |
3 | * so that it does not need sun4c 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/pgtable.h> |
12 | |
13 | static char shouldnothappen[] __initdata = "32bit SMP kernel only supports sun4m and sun4d\n"; |
14 | |
15 | /* Dummies */ |
16 | struct sun4c_mmu_ring { |
17 | unsigned long xxx1[3]; |
18 | unsigned char xxx2[2]; |
19 | int xxx3; |
20 | }; |
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; |
25 | |
26 | static void __init should_not_happen(void) |
27 | { |
28 | prom_printf(shouldnothappen); |
29 | prom_halt(); |
30 | } |
31 | |
32 | unsigned long __init sun4c_paging_init(unsigned long start_mem, unsigned long end_mem) |
33 | { |
34 | should_not_happen(); |
35 | return 0; |
36 | } |
37 | |
38 | void __init ld_mmu_sun4c(void) |
39 | { |
40 | should_not_happen(); |
41 | } |
42 | |
43 | void sun4c_mapioaddr(unsigned long physaddr, unsigned long virt_addr, int bus_type, int rdonly) |
44 | { |
45 | } |
46 | |
47 | void sun4c_unmapioaddr(unsigned long virt_addr) |
48 | { |
49 | } |
50 | |
51 | void sun4c_complete_all_stores(void) |
52 | { |
53 | } |
54 | |
55 | pte_t *sun4c_pte_offset(pmd_t * dir, unsigned long address) |
56 | { |
57 | return NULL; |
58 | } |
59 | |
60 | pte_t *sun4c_pte_offset_kernel(pmd_t *dir, unsigned long address) |
61 | { |
62 | return NULL; |
63 | } |
64 | |
65 | void sun4c_update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) |
66 | { |
67 | } |
68 | |
69 | void __init sun4c_probe_vac(void) |
70 | { |
71 | should_not_happen(); |
72 | } |
73 | |
74 | void __init sun4c_probe_memerr_reg(void) |
75 | { |
76 | should_not_happen(); |
77 | } |
78 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9