processor.h 990 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * arch/arm/mach-ns9xxx/include/mach/processor.h
  3. *
  4. * Copyright (C) 2006,2007 by Digi International Inc.
  5. * All rights reserved.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License version 2 as published by
  9. * the Free Software Foundation.
  10. */
  11. #ifndef __ASM_ARCH_PROCESSOR_H
  12. #define __ASM_ARCH_PROCESSOR_H
  13. #include <mach/module.h>
  14. #define processor_is_ns9210() (0 \
  15. || module_is_cc7ucamry() \
  16. || module_is_cc9p9210() \
  17. || module_is_inc20otter() \
  18. || module_is_otter() \
  19. )
  20. #define processor_is_ns9215() (0 \
  21. || module_is_cc9p9215() \
  22. )
  23. #define processor_is_ns9360() (0 \
  24. || module_is_cc9p9360() \
  25. || module_is_cc9c() \
  26. || module_is_ccw9c() \
  27. )
  28. #define processor_is_ns9750() (0 \
  29. || module_is_cc9p9750() \
  30. )
  31. #define processor_is_ns921x() (0 \
  32. || processor_is_ns9210() \
  33. || processor_is_ns9215() \
  34. )
  35. #endif /* ifndef __ASM_ARCH_PROCESSOR_H */