blob: cb015b8bb365208b9fbbaf494b5a200f5fc2f8ac [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * include/asm-sh/machvec_init.h
3 *
4 * Copyright 2000 Stuart Menefy (stuart.menefy@st.com)
5 *
6 * May be copied or modified under the terms of the GNU General Public
7 * License. See linux/COPYING for more information.
8 *
9 * This file has goodies to help simplify instantiation of machine vectors.
10 */
11
12#ifndef __SH_MACHVEC_INIT_H
13#define __SH_MACHVEC_INIT_H
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#define __initmv __attribute__((unused,__section__ (".machvec.init")))
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#define ALIAS_MV(system) \
Paul Mundt25f81512007-05-14 19:12:37 +090017 asm(".weak sh_mv\nsh_mv = mv_"#system );
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19#endif /* __SH_MACHVEC_INIT_H */