param.h 725 B

12345678910111213141516171819202122232425262728293031
  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. * Copyright 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org)
  7. * Copyright 2000 Silicon Graphics, Inc.
  8. */
  9. #ifndef _ASM_PARAM_H
  10. #define _ASM_PARAM_H
  11. #ifdef __KERNEL__
  12. # define HZ CONFIG_HZ /* Internal kernel timer frequency */
  13. # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
  14. # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
  15. #endif
  16. #ifndef HZ
  17. #define HZ 100
  18. #endif
  19. #define EXEC_PAGESIZE 65536
  20. #ifndef NOGROUP
  21. #define NOGROUP (-1)
  22. #endif
  23. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  24. #endif /* _ASM_PARAM_H */