aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-09-19 02:52:55 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2006-09-20 00:06:18 -0400
commit661f1cdb8b3e3c2c44e97df122c1d5643c054ce8 (patch)
tree9f540dda2d57d2ec2fcec5aee3b7f0a4c7992d94 /arch/powerpc
parentfa053d2f008cb73fa768b8e171486d8c0b33312b (diff)
[POWERPC] remove unused asm routines
_insw, _outsw, _insl amd _outsl are all unused, so remove them. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/misc.S52
-rw-r--r--arch/powerpc/kernel/ppc_ksyms.c4
2 files changed, 0 insertions, 56 deletions
diff --git a/arch/powerpc/kernel/misc.S b/arch/powerpc/kernel/misc.S
index f770805f1215..dd5f8e429196 100644
--- a/arch/powerpc/kernel/misc.S
+++ b/arch/powerpc/kernel/misc.S
@@ -86,58 +86,6 @@ _GLOBAL(_outsb)
86 sync 86 sync
87 blr 87 blr
88 88
89_GLOBAL(_insw)
90 sync
91 cmpwi 0,r5,0
92 mtctr r5
93 subi r4,r4,2
94 blelr-
9500: lhbrx r5,0,r3
96 eieio
97 sthu r5,2(r4)
98 bdnz 00b
99 twi 0,r5,0
100 isync
101 blr
102
103_GLOBAL(_outsw)
104 cmpwi 0,r5,0
105 mtctr r5
106 subi r4,r4,2
107 blelr-
108 sync
10900: lhzu r5,2(r4)
110 sthbrx r5,0,r3
111 bdnz 00b
112 sync
113 blr
114
115_GLOBAL(_insl)
116 sync
117 cmpwi 0,r5,0
118 mtctr r5
119 subi r4,r4,4
120 blelr-
12100: lwbrx r5,0,r3
122 eieio
123 stwu r5,4(r4)
124 bdnz 00b
125 twi 0,r5,0
126 isync
127 blr
128
129_GLOBAL(_outsl)
130 cmpwi 0,r5,0
131 mtctr r5
132 subi r4,r4,4
133 blelr-
134 sync
13500: lwzu r5,4(r4)
136 stwbrx r5,0,r3
137 bdnz 00b
138 sync
139 blr
140
141#ifdef CONFIG_PPC32 89#ifdef CONFIG_PPC32
142_GLOBAL(__ide_mm_insw) 90_GLOBAL(__ide_mm_insw)
143#endif 91#endif
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index b2edac8ddf0a..314d6114e6ec 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -104,10 +104,6 @@ EXPORT_SYMBOL(__ide_mm_outsl);
104 104
105EXPORT_SYMBOL(_insb); 105EXPORT_SYMBOL(_insb);
106EXPORT_SYMBOL(_outsb); 106EXPORT_SYMBOL(_outsb);
107EXPORT_SYMBOL(_insw);
108EXPORT_SYMBOL(_outsw);
109EXPORT_SYMBOL(_insl);
110EXPORT_SYMBOL(_outsl);
111EXPORT_SYMBOL(_insw_ns); 107EXPORT_SYMBOL(_insw_ns);
112EXPORT_SYMBOL(_outsw_ns); 108EXPORT_SYMBOL(_outsw_ns);
113EXPORT_SYMBOL(_insl_ns); 109EXPORT_SYMBOL(_insl_ns);