]> git.itanic.dy.fi Git - linux-stable/commit
m68k: Rework BI_VIRT_RNG_SEED as BI_RNG_SEED
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 27 Sep 2022 13:08:35 +0000 (15:08 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 28 Sep 2022 20:16:44 +0000 (22:16 +0200)
commitdc63a086daee92c63e392e4e7cd7ed61f3693026
tree587dc01cb12c5e104a71f321bbb8f573892d323e
parent7c236d93c6764dcaca7ab66d76768a044647876d
m68k: Rework BI_VIRT_RNG_SEED as BI_RNG_SEED

This is useful on !virt platforms for kexec, so change things from
BI_VIRT_RNG_SEED to be BI_RNG_SEED, and simply remove BI_VIRT_RNG_SEED
because it only ever lasted one release, and nothing is broken by not
having it. At the same time, keep a comment noting that it's been
removed, so that ID isn't reused. In addition, we previously documented
2-byte alignment, but 4-byte alignment is actually necessary, so update
that comment.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: a1ee38ab1a75 ("m68k: virt: Use RNG seed from bootinfo block")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://lore.kernel.org/r/20220927130835.1629806-2-Jason@zx2c4.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/uapi/asm/bootinfo-virt.h
arch/m68k/include/uapi/asm/bootinfo.h
arch/m68k/kernel/setup_mm.c
arch/m68k/virt/config.c