FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 09-26-2010, 03:27 AM
Bryan Wu
 
Default UBUNTU: SAUCE: Fix a buidling error when turn off CONFIG_SMP

BugLink: http://bugs.launchpad.net/bugs/647890

Commit bde95e1bcf0b39b06c365e509dc4e11bfcbb54e5 introduced a building
error:
--
/opt/git/Ubuntu/roc/ubuntu-maverick/arch/arm/mm/ioremap.c: In function '__arm_multi_strided_ioremap':
/opt/git/Ubuntu/roc/ubuntu-maverick/arch/arm/mm/ioremap.c:437: error: 'size' undeclared (first use in this function)
/opt/git/Ubuntu/roc/ubuntu-maverick/arch/arm/mm/ioremap.c:437: error: (Each undeclared identifier is reported only once
/opt/git/Ubuntu/roc/ubuntu-maverick/arch/arm/mm/ioremap.c:437: error: for each function it appears in.)
make[3]: *** [arch/arm/mm/ioremap.o] Error 1
make[2]: *** [arch/arm/mm] Error 2
make[2]: *** Waiting for unfinished jobs....
--

This patch fixed this.

Cc: Lajos Molnar <molnar@ti.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
arch/arm/mm/ioremap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
index a6cdb4e..e66004b 100644
--- a/arch/arm/mm/ioremap.c
+++ b/arch/arm/mm/ioremap.c
@@ -434,7 +434,7 @@ __arm_multi_strided_ioremap(int sections,
~SUPERSECTION_MASK)) {
area->flags |= VM_ARM_SECTION_MAPPING;
err = remap_area_supersections(addr_i, pfns[i],
- size[i], type);
+ phys_size[i], type);
} else if (!((__pfn_to_phys(pfns[i]) | vstride | addr_i)
& ~PMD_MASK)) {
area->flags |= VM_ARM_SECTION_MAPPING;
--
1.7.0.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 01:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org