diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-09-19 02:52:55 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-09-20 00:06:18 -0400 |
commit | 661f1cdb8b3e3c2c44e97df122c1d5643c054ce8 (patch) | |
tree | 9f540dda2d57d2ec2fcec5aee3b7f0a4c7992d94 /arch/powerpc | |
parent | fa053d2f008cb73fa768b8e171486d8c0b33312b (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.S | 52 | ||||
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 4 |
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- | ||
95 | 00: 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 | ||
109 | 00: 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- | ||
121 | 00: 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 | ||
135 | 00: 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 | ||
105 | EXPORT_SYMBOL(_insb); | 105 | EXPORT_SYMBOL(_insb); |
106 | EXPORT_SYMBOL(_outsb); | 106 | EXPORT_SYMBOL(_outsb); |
107 | EXPORT_SYMBOL(_insw); | ||
108 | EXPORT_SYMBOL(_outsw); | ||
109 | EXPORT_SYMBOL(_insl); | ||
110 | EXPORT_SYMBOL(_outsl); | ||
111 | EXPORT_SYMBOL(_insw_ns); | 107 | EXPORT_SYMBOL(_insw_ns); |
112 | EXPORT_SYMBOL(_outsw_ns); | 108 | EXPORT_SYMBOL(_outsw_ns); |
113 | EXPORT_SYMBOL(_insl_ns); | 109 | EXPORT_SYMBOL(_insl_ns); |