ARM: Fix .size directive for xscale_dma_a0_map_area
authorBen Hutchings <ben@decadent.org.uk>
Sat, 12 Mar 2011 03:27:22 +0000 (03:27 +0000)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 28 Apr 2011 09:56:31 +0000 (17:56 +0800)
gas used to accept (and ignore?) .size directives which referred to
undefined symbols, as this does.  In binutils 2.21 these are treated
as fatal errors.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mm/proc-xscale.S

index ce233bcbf5060c14bfe89c0093020a9c17005904..42af97664c9d844f156789f23a8c1fac7a643b68 100644 (file)
@@ -395,7 +395,7 @@ ENTRY(xscale_dma_a0_map_area)
        teq     r2, #DMA_TO_DEVICE
        beq     xscale_dma_clean_range
        b       xscale_dma_flush_range
-ENDPROC(xscsale_dma_a0_map_area)
+ENDPROC(xscale_dma_a0_map_area)
 
 /*
  *     dma_unmap_area(start, size, dir)