parisc: percpu: update comments referring to __get_cpu_var
authorChristoph Lameter <cl@linux.com>
Sat, 13 Dec 2014 00:58:47 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:53 +0000 (12:42 -0800)
__get_cpu_var was removed. Update comments to refer to
this_cpu_ptr() instead.

Signed-off-by: Christoph Lameter <cl@linux.com>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/lib/fixup.S

index f8c45cc2947ded5f5178b7a24cecc16422aa7a12..536ef66bb94b5aa8c46800a968514184b5e2d85d 100644 (file)
        LDREGX \t2(\t1),\t2 
        addil LT%exception_data,%r27
        LDREG RT%exception_data(%r1),\t1
-       /* t1 = &__get_cpu_var(exception_data) */
+       /* t1 = this_cpu_ptr(&exception_data) */
        add,l \t1,\t2,\t1
        /* t1 = t1->fault_ip */
        LDREG EXCDATA_IP(\t1), \t1
        .endm
 #else
        .macro  get_fault_ip t1 t2
-       /* t1 = &__get_cpu_var(exception_data) */
+       /* t1 = this_cpu_ptr(&exception_data) */
        addil LT%exception_data,%r27
        LDREG RT%exception_data(%r1),\t2
        /* t1 = t2->fault_ip */