]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/ipl: add DEFINE_GENERIC_LOADPARM()
authorSven Schnelle <svens@linux.ibm.com>
Sun, 29 Jan 2023 15:36:03 +0000 (16:36 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Feb 2023 10:13:52 +0000 (11:13 +0100)
commitc676aac66f5b2b03a1090bc6b1891486255f7159
treed1f3d2cf27e62220394d13fc8aa5390951c2c9a5
parentcbc29f107e51b1cc7d1e7b0bbe0691a1224205f1
s390/ipl: add DEFINE_GENERIC_LOADPARM()

In the current code each reipl type implements its own pair of loadparm
show/store functions. Add a macro to deduplicate the code a bit.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Fixes: 87fd22e0ae92 ("s390/ipl: add eckd support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/ipl.c