diff options
author | Christoph Lameter <cl@linux.com> | 2014-12-12 19:58:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 15:42:53 -0500 |
commit | 6ddb798f0248e3460c2dce76af5cb30a980efccd (patch) | |
tree | 187fa688c44d174f37c42a1c300eb17209d13c83 /arch | |
parent | 7d94a82e45157318568d839902f46b2085de9e90 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/lib/fixup.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/lib/fixup.S b/arch/parisc/lib/fixup.S index f8c45cc2947d..536ef66bb94b 100644 --- a/arch/parisc/lib/fixup.S +++ b/arch/parisc/lib/fixup.S | |||
@@ -38,14 +38,14 @@ | |||
38 | LDREGX \t2(\t1),\t2 | 38 | LDREGX \t2(\t1),\t2 |
39 | addil LT%exception_data,%r27 | 39 | addil LT%exception_data,%r27 |
40 | LDREG RT%exception_data(%r1),\t1 | 40 | LDREG RT%exception_data(%r1),\t1 |
41 | /* t1 = &__get_cpu_var(exception_data) */ | 41 | /* t1 = this_cpu_ptr(&exception_data) */ |
42 | add,l \t1,\t2,\t1 | 42 | add,l \t1,\t2,\t1 |
43 | /* t1 = t1->fault_ip */ | 43 | /* t1 = t1->fault_ip */ |
44 | LDREG EXCDATA_IP(\t1), \t1 | 44 | LDREG EXCDATA_IP(\t1), \t1 |
45 | .endm | 45 | .endm |
46 | #else | 46 | #else |
47 | .macro get_fault_ip t1 t2 | 47 | .macro get_fault_ip t1 t2 |
48 | /* t1 = &__get_cpu_var(exception_data) */ | 48 | /* t1 = this_cpu_ptr(&exception_data) */ |
49 | addil LT%exception_data,%r27 | 49 | addil LT%exception_data,%r27 |
50 | LDREG RT%exception_data(%r1),\t2 | 50 | LDREG RT%exception_data(%r1),\t2 |
51 | /* t1 = t2->fault_ip */ | 51 | /* t1 = t2->fault_ip */ |