param.h 516 B

1234567891011121314151617181920212223242526
  1. #ifndef __ASM_SH_PARAM_H
  2. #define __ASM_SH_PARAM_H
  3. #ifdef __KERNEL__
  4. # ifdef CONFIG_SH_WDT
  5. # define HZ 1000 /* Needed for high-res WOVF */
  6. # else
  7. # define HZ CONFIG_HZ
  8. # endif
  9. # define USER_HZ 100 /* User interfaces are in "ticks" */
  10. # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
  11. #endif
  12. #ifndef HZ
  13. #define HZ 100
  14. #endif
  15. #define EXEC_PAGESIZE 4096
  16. #ifndef NOGROUP
  17. #define NOGROUP (-1)
  18. #endif
  19. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  20. #endif /* __ASM_SH_PARAM_H */