param.h 510 B

1234567891011121314151617181920212223242526
  1. #ifndef __ASM_GENERIC_PARAM_H
  2. #define __ASM_GENERIC_PARAM_H
  3. #ifndef HZ
  4. #define HZ 100
  5. #endif
  6. #ifndef EXEC_PAGESIZE
  7. #define EXEC_PAGESIZE 4096
  8. #endif
  9. #ifndef NOGROUP
  10. #define NOGROUP (-1)
  11. #endif
  12. #define MAXHOSTNAMELEN 64 /* max length of hostname */
  13. #ifdef __KERNEL__
  14. # undef HZ
  15. # define HZ CONFIG_HZ /* Internal kernel timer frequency */
  16. # define USER_HZ 100 /* some user interfaces are */
  17. # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
  18. #endif
  19. #endif /* __ASM_GENERIC_PARAM_H */