Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #define __initmv __attribute__((unused,__section__ (".machvec.init"))) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | #define ALIAS_MV(system) \ |
Paul Mundt | 25f8151 | 2007-05-14 19:12:37 +0900 | [diff] [blame^] | 17 | asm(".weak sh_mv\nsh_mv = mv_"#system ); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
| 19 | #endif /* __SH_MACHVEC_INIT_H */ |