Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: percpu: update comments referring to __get_cpu_var

__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>

authored by

Christoph Lameter and committed by
Linus Torvalds
6ddb798f 7d94a82e

+2 -2
+2 -2
arch/parisc/lib/fixup.S
··· 38 38 LDREGX \t2(\t1),\t2 39 39 addil LT%exception_data,%r27 40 40 LDREG RT%exception_data(%r1),\t1 41 - /* t1 = &__get_cpu_var(exception_data) */ 41 + /* t1 = this_cpu_ptr(&exception_data) */ 42 42 add,l \t1,\t2,\t1 43 43 /* t1 = t1->fault_ip */ 44 44 LDREG EXCDATA_IP(\t1), \t1 45 45 .endm 46 46 #else 47 47 .macro get_fault_ip t1 t2 48 - /* t1 = &__get_cpu_var(exception_data) */ 48 + /* t1 = this_cpu_ptr(&exception_data) */ 49 49 addil LT%exception_data,%r27 50 50 LDREG RT%exception_data(%r1),\t2 51 51 /* t1 = t2->fault_ip */