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>
This commit is contained in:
parent
7d94a82e45
commit
6ddb798f02
1 changed files with 2 additions and 2 deletions
|
@ -38,14 +38,14 @@
|
||||||
LDREGX \t2(\t1),\t2
|
LDREGX \t2(\t1),\t2
|
||||||
addil LT%exception_data,%r27
|
addil LT%exception_data,%r27
|
||||||
LDREG RT%exception_data(%r1),\t1
|
LDREG RT%exception_data(%r1),\t1
|
||||||
/* t1 = &__get_cpu_var(exception_data) */
|
/* t1 = this_cpu_ptr(&exception_data) */
|
||||||
add,l \t1,\t2,\t1
|
add,l \t1,\t2,\t1
|
||||||
/* t1 = t1->fault_ip */
|
/* t1 = t1->fault_ip */
|
||||||
LDREG EXCDATA_IP(\t1), \t1
|
LDREG EXCDATA_IP(\t1), \t1
|
||||||
.endm
|
.endm
|
||||||
#else
|
#else
|
||||||
.macro get_fault_ip t1 t2
|
.macro get_fault_ip t1 t2
|
||||||
/* t1 = &__get_cpu_var(exception_data) */
|
/* t1 = this_cpu_ptr(&exception_data) */
|
||||||
addil LT%exception_data,%r27
|
addil LT%exception_data,%r27
|
||||||
LDREG RT%exception_data(%r1),\t2
|
LDREG RT%exception_data(%r1),\t2
|
||||||
/* t1 = t2->fault_ip */
|
/* t1 = t2->fault_ip */
|
||||||
|
|
Loading…
Add table
Reference in a new issue