diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-05-16 21:42:42 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-05-23 11:01:37 +0300 |
commit | b903dfb277c09e53d499480e9670557dcce36fbd (patch) | |
tree | 594e7ea692a045731ca2ddf81c6aedd599ad0a43 /kernel/async.c | |
parent | b608fe356fe8328665445a26ec75dfac918c8c5d (diff) | |
download | linux-b903dfb277c09e53d499480e9670557dcce36fbd.tar.xz |
iommu/of: Adjust system_state check
To enable smp_processor_id() and might_sleep() debug checks earlier, it's
required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING.
Adjust the system_state check in of_iommu_driver_present() to handle the
extra states.
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: iommu@lists.linux-foundation.org
Link: http://lkml.kernel.org/r/20170516184735.788023442@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions