-
由 Paul Mundt 提交于
Now that __initmv references the machvec section unconditionally there have been cases where folks have been mistakenly flagging non-machvec structures with the machvec section attribute (presumably to shut up modpost). This leads to obscure breakage in earlyprintk amongst other places and is rather non-obvious. Add a simple sanity check to try and catch __initmv misuse and panic early. Reported-by: NMarkus Brunner <super.firetwister@gmail.com> Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
5556410e