/arch/mips/include/asm/mach-loongson/machine.h

https://bitbucket.org/cresqo/cm7-p500-kernel · C Header · 27 lines · 9 code · 8 blank · 10 comment · 0 complexity · fc1dd3aa8024212a7698eaf5bb319cd5 MD5 · raw file

  1. /*
  2. * Copyright (C) 2009 Lemote, Inc.
  3. * Author: Wu Zhangjin <wuzhangjin@gmail.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of the GNU General Public License as published by the
  7. * Free Software Foundation; either version 2 of the License, or (at your
  8. * option) any later version.
  9. */
  10. #ifndef __ASM_MACH_LOONGSON_MACHINE_H
  11. #define __ASM_MACH_LOONGSON_MACHINE_H
  12. #ifdef CONFIG_LEMOTE_FULOONG2E
  13. #define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E
  14. #endif
  15. /* use fuloong2f as the default machine of LEMOTE_MACH2F */
  16. #ifdef CONFIG_LEMOTE_MACH2F
  17. #define LOONGSON_MACHTYPE MACH_LEMOTE_FL2F
  18. #endif
  19. #endif /* __ASM_MACH_LOONGSON_MACHINE_H */