machvec_init.h 537 B

12345678910111213141516171819
  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. #ifndef __SH_MACHVEC_INIT_H
  12. #define __SH_MACHVEC_INIT_H
  13. #define __initmv __attribute__((unused,__section__ (".machvec.init")))
  14. #define ALIAS_MV(system) \
  15. asm(".weak sh_mv\nsh_mv = mv_"#system );
  16. #endif /* __SH_MACHVEC_INIT_H */