param.h 971 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # include <linux/config.h> /* mustn't include <linux/config.h> outside of #ifdef __KERNEL__ */
  18. # ifdef CONFIG_IA64_HP_SIM
  19. /*
  20. * Yeah, simulating stuff is slow, so let us catch some breath between
  21. * timer interrupts...
  22. */
  23. # define HZ 32
  24. # else
  25. # define HZ CONFIG_HZ
  26. # endif
  27. # define USER_HZ HZ
  28. # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
  29. #else
  30. /*
  31. * Technically, this is wrong, but some old apps still refer to it. The proper way to
  32. * get the HZ value is via sysconf(_SC_CLK_TCK).
  33. */
  34. # define HZ 1024
  35. #endif
  36. #endif /* _ASM_IA64_PARAM_H */