mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

This tidies up the build rules and permits multiple boards to be linked in to the same kernel. The earlier Kconfig work ensures that the CPU configuration is consistent across the boards, as this is the only thing that we can't do dynamically. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
19 lines
537 B
C
19 lines
537 B
C
/*
|
|
* include/asm-sh/machvec_init.h
|
|
*
|
|
* Copyright 2000 Stuart Menefy (stuart.menefy@st.com)
|
|
*
|
|
* May be copied or modified under the terms of the GNU General Public
|
|
* License. See linux/COPYING for more information.
|
|
*
|
|
* This file has goodies to help simplify instantiation of machine vectors.
|
|
*/
|
|
|
|
#ifndef __SH_MACHVEC_INIT_H
|
|
#define __SH_MACHVEC_INIT_H
|
|
|
|
#define __initmv __attribute__((unused,__section__ (".machvec.init")))
|
|
#define ALIAS_MV(system) \
|
|
asm(".weak sh_mv\nsh_mv = mv_"#system );
|
|
|
|
#endif /* __SH_MACHVEC_INIT_H */
|