summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-08-27 11:18:29 -0400
committerTejun Heo <tj@kernel.org>2014-08-27 11:18:29 -0400
commit23f66e2d661b4d3226d16e25910a9e9472ce2410 (patch)
treefe5b7769f72cac6ff722a0f1509df9e398768ab6 /arch/powerpc/mm/hugetlbpage.c
parent47405a253da4d8ca4b18ad537423083fdd790440 (diff)
downloadop-kernel-dev-23f66e2d661b4d3226d16e25910a9e9472ce2410.zip
op-kernel-dev-23f66e2d661b4d3226d16e25910a9e9472ce2410.tar.gz
Revert "powerpc: Replace __get_cpu_var uses"
This reverts commit 5828f666c069af74e00db21559f1535103c9f79a due to build failure after merging with pending powerpc changes. Link: http://lkml.kernel.org/g/20140827142243.6277eaff@canb.auug.org.au Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-rw-r--r--arch/powerpc/mm/hugetlbpage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index 8aa04f0..7e70ae9 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/arch/powerpc/mm/hugetlbpage.c
@@ -462,7 +462,7 @@ static void hugepd_free(struct mmu_gather *tlb, void *hugepte)
{
struct hugepd_freelist **batchp;
- batchp = this_cpu_ptr(&hugepd_freelist_cur);
+ batchp = &get_cpu_var(hugepd_freelist_cur);
if (atomic_read(&tlb->mm->mm_users) < 2 ||
cpumask_equal(mm_cpumask(tlb->mm),
OpenPOWER on IntegriCloud