diff options
author | 2018-01-02 15:12:01 +0000 | |
---|---|---|
committer | 2018-01-17 11:30:16 +0000 | |
commit | 4e7e3adbba5224604b34b0d42003ff6dbdc8ddd9 (patch) | |
tree | d4e9f829a8d07dd76319776e54cde0cb36ceb24a /include/linux/irqflags.h | |
parent | Expand INIT_TASK() in init/init_task.c and remove (diff) | |
download | linux-4e7e3adbba5224604b34b0d42003ff6dbdc8ddd9.tar.gz linux-4e7e3adbba5224604b34b0d42003ff6dbdc8ddd9.tar.bz2 linux-4e7e3adbba5224604b34b0d42003ff6dbdc8ddd9.zip |
Expand various INIT_* macros and remove
Expand various INIT_* macros into the single places they're used in
init/init_task.c and remove them.
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: Will Deacon <will.deacon@arm.com> (arm64)
Tested-by: Palmer Dabbelt <palmer@sifive.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/irqflags.h')
-rw-r--r-- | include/linux/irqflags.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/irqflags.h b/include/linux/irqflags.h index 46cb57d5eb13..2ec81dc1487e 100644 --- a/include/linux/irqflags.h +++ b/include/linux/irqflags.h @@ -44,7 +44,6 @@ do { \ current->softirq_context--; \ crossrelease_hist_end(XHLOCK_SOFT); \ } while (0) -# define INIT_TRACE_IRQFLAGS .softirqs_enabled = 1, #else # define trace_hardirqs_on() do { } while (0) # define trace_hardirqs_off() do { } while (0) @@ -58,7 +57,6 @@ do { \ # define trace_hardirq_exit() do { } while (0) # define lockdep_softirq_enter() do { } while (0) # define lockdep_softirq_exit() do { } while (0) -# define INIT_TRACE_IRQFLAGS #endif #if defined(CONFIG_IRQSOFF_TRACER) || \ |