aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/machvec_init.h
blob: cb015b8bb365208b9fbbaf494b5a200f5fc2f8ac (plain) (blame)
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(".weak sh_mv\nsh_mv = mv_"#system );

#endif /* __SH_MACHVEC_INIT_H */