Skip to content

Commit

Permalink
ARM: Fix .size directive for xscale_dma_a0_map_area
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Hutchings authored and Eric Miao committed Apr 28, 2011
1 parent e454d16 commit 83a5d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-xscale.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 83a5d2d

Please sign in to comment.