]> git.itanic.dy.fi Git - linux-stable/commit
parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
authorHelge Deller <deller@gmx.de>
Sun, 21 Aug 2022 12:49:58 +0000 (14:49 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 22 Aug 2022 09:09:17 +0000 (11:09 +0200)
commit591d2108f3abc4db9f9073cae37cf3591fd250d6
treee1642f0d08639274309908dd96fdf1d0bc141072
parentd46c742f827fa2326ab1f4faa1cccadb56912341
parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines

If a 32-bit kernel was compiled for PA2.0 CPUs, it won't be able to run
on machines with PA1.x CPUs. Add a check and bail out early if a PA1.x
machine is detected.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/head.S