aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh/machvec_init.h
blob: 88a973edcf150e439403b7587df2a91cc6d410d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * 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(".global sh_mv\nsh_mv = mv_"#system );

#endif /* __SH_MACHVEC_INIT_H */