projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3211be5
)
[POWERPC] Fix harmless typo
author
Nick Piggin
<npiggin@suse.de>
Wed, 4 Oct 2006 15:25:44 +0000
(17:25 +0200)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 6 Oct 2006 11:10:40 +0000
(21:10 +1000)
Fix a typo. Noticed by the unlikely profiler.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/iommu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/iommu.c
b/arch/powerpc/kernel/iommu.c
index
ba06940
..
f88a2a6
100644
(file)
--- 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;