param.h 748 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * include/asm-xtensa/param.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 2001 - 2005 Tensilica Inc.
  9. */
  10. #ifndef _XTENSA_PARAM_H
  11. #define _XTENSA_PARAM_H
  12. #ifdef __KERNEL__
  13. # define HZ CONFIG_HZ /* internal timer frequency */
  14. # define USER_HZ 100 /* for user interfaces in "ticks" */
  15. # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */
  16. #else
  17. # define HZ 100
  18. #endif
  19. #define EXEC_PAGESIZE 4096
  20. #ifndef NGROUPS
  21. #define NGROUPS 32
  22. #endif
  23. #ifndef NOGROUP
  24. #define NOGROUP (-1)
  25. #endif
  26. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  27. #endif /* _XTENSA_PARAM_H */