aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2006-10-04 17:25:44 +0200
committerPaul Mackerras <paulus@samba.org>2006-10-06 21:10:40 +1000
commit13a2eea1461f5d54cc5d58334fbde4bf4cc9cb23 (patch)
tree8abddbfbc8b80c911ed6e82dc1678b9ca542c93f /arch/powerpc
parent[PPC] Fix some irq breakage with ARCH=ppc (diff)
downloadlinux-dev-13a2eea1461f5d54cc5d58334fbde4bf4cc9cb23.tar.xz
linux-dev-13a2eea1461f5d54cc5d58334fbde4bf4cc9cb23.zip
[POWERPC] Fix harmless typo
Fix a typo. Noticed by the unlikely profiler. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c
index ba0694071728..f88a2a675d90 100644
--- a/arch/powerpc/kernel/iommu.c
+++ b/arch/powerpc/kernel/iommu.c
@@ -75,7 +75,7 @@ static unsigned long iommu_range_alloc(struct iommu_table *tbl,
/* This allocator was derived from x86_64's bit string search */
/* Sanity check */
- if (unlikely(npages) == 0) {
+ if (unlikely(npages == 0)) {
if (printk_ratelimit())
WARN_ON(1);
return DMA_ERROR_CODE;