diff options
author | Helge Deller <deller@gmx.de> | 2019-04-02 12:13:27 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-04-06 19:07:55 +0200 |
commit | d006e95b5561f708d0385e9677ffe2c46f2ae345 (patch) | |
tree | 8cf2b12a8846a6b2f6ca825328e26413e8fd8c00 /drivers/scsi/arcmsr | |
parent | f324fa58327791b2696628b31480e7e21c745706 (diff) |
parisc: Detect QEMU earlier in boot process
While adding LASI support to QEMU, I noticed that the QEMU detection in
the kernel happens much too late. For example, when a LASI chip is found
by the kernel, it registers the LASI LED driver as well. But when we
run on QEMU it makes sense to avoid spending unnecessary CPU cycles, so
we need to access the running_on_QEMU flag earlier than before.
This patch now makes the QEMU detection the fist task of the Linux
kernel by moving it to where the kernel enters the C-coding.
Fixes: 310d82784fb4 ("parisc: qemu idle sleep support")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v4.14+
Diffstat (limited to 'drivers/scsi/arcmsr')
0 files changed, 0 insertions, 0 deletions