linux/arch/sh
Paul Mundt 5556410e22 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>
2007-08-07 19:13:23 +09:00
..
boards sh: fix cf support on r2d boards 2007-08-03 10:16:29 +09:00
boot sh: arch/sh/boot - fix shell usage 2007-07-26 17:43:41 +09:00
cchips sh: hd64461 tidying. 2007-07-20 12:18:19 +09:00
configs sh: fix defconfigs for sh7751r boards 2007-08-03 10:17:47 +09:00
drivers sh: Fix Dreamcast DMA issues. 2007-07-24 13:30:55 +09:00
kernel sh: panic on machvec section misalignment. 2007-08-07 19:13:23 +09:00
lib sh: Revert __xdiv64_32 size change. 2007-07-13 12:27:13 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Fix pgd mismatch from cached TTB in unhandled fault. 2007-08-01 16:39:51 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig.debug sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
Makefile sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00