diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-13 16:23:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-13 16:23:16 -0400 |
commit | 679bea5e438df70b5d4348fd2da4501aaeacebe0 (patch) | |
tree | 476c87af4c16b665d0f6bd8c3067f10b47507746 /arch/sparc/include/asm/floppy_32.h | |
parent | f613914efcc566245cd605bde6943fb5c2cd4ba3 (diff) |
sparc: Kill mmu_{un,}lockarea().
These were used on sun4c during floppy data transfers since on that
chip we had to lock the cpu mappings into the TLB because we cannot
take a TLB miss during the assembler floppy interrupt handler that
does the data transfer.
That is no longer necessary since we've removed sun4c support, thus
this stuff can disappear completely.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/floppy_32.h')
-rw-r--r-- | arch/sparc/include/asm/floppy_32.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/floppy_32.h b/arch/sparc/include/asm/floppy_32.h index c514864cd2e2..fb3f16954c69 100644 --- a/arch/sparc/include/asm/floppy_32.h +++ b/arch/sparc/include/asm/floppy_32.h | |||
@@ -229,10 +229,7 @@ static inline void virtual_dma_init(void) | |||
229 | static inline void sun_fd_disable_dma(void) | 229 | static inline void sun_fd_disable_dma(void) |
230 | { | 230 | { |
231 | doing_pdma = 0; | 231 | doing_pdma = 0; |
232 | if (pdma_base) { | 232 | pdma_base = NULL; |
233 | mmu_unlockarea(pdma_base, pdma_areasize); | ||
234 | pdma_base = NULL; | ||
235 | } | ||
236 | } | 233 | } |
237 | 234 | ||
238 | static inline void sun_fd_set_dma_mode(int mode) | 235 | static inline void sun_fd_set_dma_mode(int mode) |
@@ -262,7 +259,6 @@ static inline void sun_fd_set_dma_count(int length) | |||
262 | 259 | ||
263 | static inline void sun_fd_enable_dma(void) | 260 | static inline void sun_fd_enable_dma(void) |
264 | { | 261 | { |
265 | pdma_vaddr = mmu_lockarea(pdma_vaddr, pdma_size); | ||
266 | pdma_base = pdma_vaddr; | 262 | pdma_base = pdma_vaddr; |
267 | pdma_areasize = pdma_size; | 263 | pdma_areasize = pdma_size; |
268 | } | 264 | } |