powerpc: Remove old compile time disabled syscall tracing code
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / entry_64.S
index fefaa1485bd31eadff253ea4562e7458a89a7b3b..d180caf2d6de749ecab74fe51bb60146ab044b69 100644 (file)
@@ -49,8 +49,6 @@ exception_marker:
        .section        ".text"
        .align 7
 
-#undef SHOW_SYSCALLS
-
        .globl system_call_common
 system_call_common:
        andi.   r10,r12,MSR_PR
@@ -142,13 +140,6 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)
        li      r10,1
        std     r10,SOFTE(r1)
 
-#ifdef SHOW_SYSCALLS
-       bl      do_show_syscall
-       REST_GPR(0,r1)
-       REST_4GPRS(3,r1)
-       REST_2GPRS(7,r1)
-       addi    r9,r1,STACK_FRAME_OVERHEAD
-#endif
        CURRENT_THREAD_INFO(r11, r1)
        ld      r10,TI_FLAGS(r11)
        andi.   r11,r10,_TIF_SYSCALL_DOTRACE
@@ -180,10 +171,6 @@ system_call:                       /* label this so stack traces look sane */
 
 .Lsyscall_exit:
        std     r3,RESULT(r1)
-#ifdef SHOW_SYSCALLS
-       bl      do_show_syscall_exit
-       ld      r3,RESULT(r1)
-#endif
        CURRENT_THREAD_INFO(r12, r1)
 
        ld      r8,_MSR(r1)