param.h 857 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #ifdef __KERNEL__
  15. # ifdef CONFIG_SH_WDT
  16. # define HZ 1000 /* Needed for high-res WOVF */
  17. # else
  18. # define HZ 100
  19. # endif
  20. # define USER_HZ 100 /* User interfaces are in "ticks" */
  21. # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
  22. #endif
  23. #ifndef HZ
  24. #define HZ 100
  25. #endif
  26. #define EXEC_PAGESIZE 4096
  27. #ifndef NGROUPS
  28. #define NGROUPS 32
  29. #endif
  30. #ifndef NOGROUP
  31. #define NOGROUP (-1)
  32. #endif
  33. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  34. #endif /* __ASM_SH64_PARAM_H */