home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-sh64 / param.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  857 b   |  43 lines

  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.  * include/asm-sh64/param.h
  7.  *
  8.  * Copyright (C) 2000, 2001  Paolo Alberelli
  9.  * Copyright (C) 2003  Paul Mundt
  10.  *
  11.  */
  12. #ifndef __ASM_SH64_PARAM_H
  13. #define __ASM_SH64_PARAM_H
  14.  
  15.  
  16. #ifdef __KERNEL__
  17. # ifdef CONFIG_SH_WDT
  18. #  define HZ        1000        /* Needed for high-res WOVF */
  19. # else
  20. #  define HZ        100
  21. # endif
  22. # define USER_HZ    100        /* User interfaces are in "ticks" */
  23. # define CLOCKS_PER_SEC    (USER_HZ)    /* frequency at which times() counts */
  24. #endif
  25.  
  26. #ifndef HZ
  27. #define HZ 100
  28. #endif
  29.  
  30. #define EXEC_PAGESIZE    4096
  31.  
  32. #ifndef NGROUPS
  33. #define NGROUPS        32
  34. #endif
  35.  
  36. #ifndef NOGROUP
  37. #define NOGROUP        (-1)
  38. #endif
  39.  
  40. #define MAXHOSTNAMELEN    64    /* max length of hostname */
  41.  
  42. #endif /* __ASM_SH64_PARAM_H */
  43.