diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-01-25 15:09:08 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-05-03 22:09:27 +0200 |
commit | 0ec60e28711fc23afd3a64e9a402d08fb83188c3 (patch) | |
tree | c3f5a4b313931c4fda94dd6d03e2eee68c225a50 /arch/alpha/kernel/console.c | |
parent | alpha: don't make functions public without a reason (diff) | |
download | linux-0ec60e28711fc23afd3a64e9a402d08fb83188c3.tar.xz linux-0ec60e28711fc23afd3a64e9a402d08fb83188c3.zip |
alpha: sys_sio: fix misspelled ifdefs
definitions of avanti_mv and noname_mv (and associated ALIAS_MV)
are conditional upon the wrong thing - it should be
CONFIG_ALPHA_{AVANTI,NONAME}_CH, not CONFIG_ALPHA_{AVANTI,NONAME}.
The former is a system type; the latter is for the bits shared
by AVANTI with XL and NONAME with ALPHA_BOOK1 resp.
We want all those machine vectors defined (but not aliased - see
ALIAS_MV() definition for details) for GENERIC build; for
system-specfic builds we want only one mv, so avanti_mv should *not*
be there for XL; it certainly should not be have alpha_mv aliased to
it on such config - xl_mv will be there and alpha_mv can't be aliased
to both of those.
The same goes for Noname vs. Alphabook1.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/alpha/kernel/console.c')
0 files changed, 0 insertions, 0 deletions