|
@@ -38,14 +38,14 @@
|
|
|
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 */
|