Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-ixp4xx: Fix build with binutils 2.21.1
The patch is backport from mainline Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...s-kernel/linux/linux-ixp4xx/0001-ARM-Fix-.size-directive-for-xscale_dma_a0_map_area.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 83a5d2d1b4cc06ce17b44873e004fc0b55552183 Mon Sep 17 00:00:00 2001 | ||
From: Ben Hutchings <ben@decadent.org.uk> | ||
Date: Sat, 12 Mar 2011 03:27:22 +0000 | ||
Subject: [PATCH] ARM: Fix .size directive for xscale_dma_a0_map_area | ||
|
||
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 | 2 +- | ||
1 files changed, 1 insertions(+), 1 deletions(-) | ||
|
||
diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S | ||
index ce233bc..42af976 100644 | ||
--- a/arch/arm/mm/proc-xscale.S | ||
+++ b/arch/arm/mm/proc-xscale.S | ||
@@ -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) | ||
-- | ||
1.7.0.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters