Peter Zijlstra bf2b300844 x86/entry: Rename trace_hardirqs_off_prepare()
The typical pattern for trace_hardirqs_off_prepare() is:

  ENTRY
    lockdep_hardirqs_off(); // because hardware
    ... do entry magic
    instrumentation_begin();
    trace_hardirqs_off_prepare();
    ... do actual work
    trace_hardirqs_on_prepare();
    lockdep_hardirqs_on_prepare();
    instrumentation_end();
    ... do exit magic
    lockdep_hardirqs_on();

which shows that it's named wrong, rename it to
trace_hardirqs_off_finish(), as it concludes the hardirq_off transition.

Also, given that the above is the only correct order, make the traditional
all-in-one trace_hardirqs_off() follow suit.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200529213321.415774872@infradead.org
2020-06-11 15:15:24 +02:00
..
2020-06-11 15:14:54 +02:00
2020-03-30 19:14:28 -07:00
2020-06-11 15:15:23 +02:00
2020-01-09 14:40:03 +01:00
2020-06-11 15:15:23 +02:00
2020-05-18 13:09:37 +03:00
2020-06-11 15:15:23 +02:00
2020-02-26 15:21:22 +01:00
2019-11-12 16:21:15 +01:00
2019-11-12 16:21:15 +01:00
2019-11-28 11:16:43 -08:00
2019-06-24 19:19:24 +02:00
2020-06-05 11:18:53 -07:00
2020-06-02 10:59:12 -07:00
2020-03-21 16:03:25 +01:00
2020-05-07 16:06:20 +02:00
2020-03-30 19:55:39 -07:00
2020-02-16 20:58:06 +01:00
2020-04-15 11:13:12 +02:00