param.h 615 B

12345678910111213141516171819202122232425262728
  1. #ifndef _ASM_ALPHA_PARAM_H
  2. #define _ASM_ALPHA_PARAM_H
  3. /* ??? Gross. I don't want to parameterize this, and supposedly the
  4. hardware ignores reprogramming. We also need userland buy-in to the
  5. change in HZ, since this is visible in the wait4 resources etc. */
  6. #ifdef __KERNEL__
  7. #define HZ CONFIG_HZ
  8. #define USER_HZ HZ
  9. #else
  10. #define HZ 1024
  11. #endif
  12. #define EXEC_PAGESIZE 8192
  13. #ifndef NOGROUP
  14. #define NOGROUP (-1)
  15. #endif
  16. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  17. #ifdef __KERNEL__
  18. # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
  19. #endif
  20. #endif /* _ASM_ALPHA_PARAM_H */