param.h 883 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * include/asm-sh64/param.h
  7. *
  8. * Copyright (C) 2000, 2001 Paolo Alberelli
  9. * Copyright (C) 2003 Paul Mundt
  10. *
  11. */
  12. #ifndef __ASM_SH64_PARAM_H
  13. #define __ASM_SH64_PARAM_H
  14. #include <linux/config.h>
  15. #ifdef __KERNEL__
  16. # ifdef CONFIG_SH_WDT
  17. # define HZ 1000 /* Needed for high-res WOVF */
  18. # else
  19. # define HZ 100
  20. # endif
  21. # define USER_HZ 100 /* User interfaces are in "ticks" */
  22. # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
  23. #endif
  24. #ifndef HZ
  25. #define HZ 100
  26. #endif
  27. #define EXEC_PAGESIZE 4096
  28. #ifndef NGROUPS
  29. #define NGROUPS 32
  30. #endif
  31. #ifndef NOGROUP
  32. #define NOGROUP (-1)
  33. #endif
  34. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  35. #endif /* __ASM_SH64_PARAM_H */