diff options
author | Nick Piggin <npiggin@suse.de> | 2006-10-04 11:25:44 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-06 07:10:40 -0400 |
commit | 13a2eea1461f5d54cc5d58334fbde4bf4cc9cb23 (patch) | |
tree | 8abddbfbc8b80c911ed6e82dc1678b9ca542c93f | |
parent | 3211be5c6a61946c75318069611699c90b10e0f8 (diff) |
[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>
-rw-r--r-- | arch/powerpc/kernel/iommu.c | 2 |
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, | |||
75 | /* This allocator was derived from x86_64's bit string search */ | 75 | /* This allocator was derived from x86_64's bit string search */ |
76 | 76 | ||
77 | /* Sanity check */ | 77 | /* Sanity check */ |
78 | if (unlikely(npages) == 0) { | 78 | if (unlikely(npages == 0)) { |
79 | if (printk_ratelimit()) | 79 | if (printk_ratelimit()) |
80 | WARN_ON(1); | 80 | WARN_ON(1); |
81 | return DMA_ERROR_CODE; | 81 | return DMA_ERROR_CODE; |