param.h 707 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _ASM_IA64_PARAM_H
  2. #define _ASM_IA64_PARAM_H
  3. /*
  4. * Fundamental kernel parameters.
  5. *
  6. * Based on <asm-i386/param.h>.
  7. *
  8. * Modified 1998, 1999, 2002-2003
  9. * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  10. */
  11. #define EXEC_PAGESIZE 65536
  12. #ifndef NOGROUP
  13. # define NOGROUP (-1)
  14. #endif
  15. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  16. #ifdef __KERNEL__
  17. # define HZ CONFIG_HZ
  18. # define USER_HZ HZ
  19. # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
  20. #else
  21. /*
  22. * Technically, this is wrong, but some old apps still refer to it. The proper way to
  23. * get the HZ value is via sysconf(_SC_CLK_TCK).
  24. */
  25. # define HZ 1024
  26. #endif
  27. #endif /* _ASM_IA64_PARAM_H */