Skip to content

Commit

Permalink
[ARM] 3734/1: Fix the unused variable warning in __iounmap()
Browse files Browse the repository at this point in the history
Patch from Catalin Marinas

This patch adds #ifdef around some variables in the arch/arm/mm/ioremap.c
file.

Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
ctmarinas authored and Russell King committed Jul 29, 2006
1 parent 7b1df19 commit ceaccbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ EXPORT_SYMBOL(__ioremap);

void __iounmap(void __iomem *addr)
{
#ifndef CONFIG_SMP
struct vm_struct **p, *tmp;
#endif
unsigned int section_mapping = 0;

addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr);
Expand Down

0 comments on commit ceaccbd

Please sign in to comment.