param.h 687 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * arch/arm/include/asm/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. #ifdef __KERNEL__
  13. # define HZ CONFIG_HZ /* Internal kernel timer frequency */
  14. # define USER_HZ 100 /* User interfaces are in "ticks" */
  15. # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
  16. #else
  17. # define HZ 100
  18. #endif
  19. #define EXEC_PAGESIZE 4096
  20. #ifndef NOGROUP
  21. #define NOGROUP (-1)
  22. #endif
  23. /* max length of hostname */
  24. #define MAXHOSTNAMELEN 64
  25. #endif