summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-08-07 19:13:23 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-08-07 19:13:23 +0900
commit5556410e2203877e7606bb1008f2e024fe87953a (patch)
treeacf8039b76534dccb73fa0def1747e6bbbf385bd /include
parent662ae2169a16004700cc18c1898aead2e5e944d5 (diff)
downloadtalos-op-linux-5556410e2203877e7606bb1008f2e024fe87953a.tar.gz
talos-op-linux-5556410e2203877e7606bb1008f2e024fe87953a.zip
sh: panic on machvec section misalignment.
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: Markus Brunner <super.firetwister@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud