summaryrefslogtreecommitdiffstats
path: root/mm/dmapool.c
diff options
context:
space:
mode:
The previous approach of calucation of combined index was page_idx & ~(1 << order)) but we have same result with page_idx & buddy_idx This reduces instructions slightly as well as enhances readability. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: fix used-unintialised warning] Signed-off-by: KyongHo Cho <pullip.cho@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/dmapool.c')
authorKyongHo Cho2011-01-14 00:47:24 +0100
committerLinus Torvalds2011-01-14 02:32:48 +0100
commit43506fad21ca3d8dc59e768ff458f7c5e5c01086 (patch)
treeb594f240a780e3547341530fedabb6ac4735ff41 /mm/dmapool.c
parentbrk: fix min_brk lower bound computation for COMPAT_BRK (diff)
downloadkernel-qcow2-linux-43506fad21ca3d8dc59e768ff458f7c5e5c01086.tar.gz
kernel-qcow2-linux-43506fad21ca3d8dc59e768ff458f7c5e5c01086.tar.xz
kernel-qcow2-linux-43506fad21ca3d8dc59e768ff458f7c5e5c01086.zip
0 files changed, 0 insertions, 0 deletions
'/openslx/kernel-qcow2-linux.git/diff/drivers/net/ethernet/sfc/efx.c?h=kernel-qcow2-linux-4.19.y&id=06931e62246844c73fba24d7aeb4a5dc897a2739'>drivers/net/ethernet/sfc/efx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c
index 4b00545a3ace..65944dd8bf6b 100644
--- a/drivers/net/ethernet/sfc/efx.c
+++ b/drivers/net/ethernet/sfc/efx.c
@@ -1304,7 +1304,7 @@ static unsigned int efx_wanted_parallelism(struct efx_nic *efx)
if (!cpumask_test_cpu(cpu, thread_mask)) {
++count;
cpumask_or(thread_mask, thread_mask,
- topology_thread_cpumask(cpu));
+ topology_sibling_cpumask(cpu));
}
}