param.h 714 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * linux/include/asm-arm/param.h
  3. *
  4. * Copyright (C) 1995-1999 Russell King
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __ASM_PARAM_H
  11. #define __ASM_PARAM_H
  12. #ifndef __KERNEL_HZ
  13. #define __KERNEL_HZ 100
  14. #endif
  15. #ifdef __KERNEL__
  16. # define HZ __KERNEL_HZ /* Internal kernel timer frequency */
  17. # define USER_HZ 100 /* User interfaces are in "ticks" */
  18. # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
  19. #else
  20. # define HZ 100
  21. #endif
  22. #ifndef NOGROUP
  23. #define NOGROUP (-1)
  24. #endif
  25. /* max length of hostname */
  26. #define MAXHOSTNAMELEN 64
  27. #endif