home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / ia64 / include / asm / param.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  707 b   |  34 lines

  1. #ifndef _ASM_IA64_PARAM_H
  2. #define _ASM_IA64_PARAM_H
  3.  
  4. /*
  5.  * Fundamental kernel parameters.
  6.  *
  7.  * Based on <asm-i386/param.h>.
  8.  *
  9.  * Modified 1998, 1999, 2002-2003
  10.  *    David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
  11.  */
  12.  
  13. #define EXEC_PAGESIZE    65536
  14.  
  15. #ifndef NOGROUP
  16. # define NOGROUP    (-1)
  17. #endif
  18.  
  19. #define MAXHOSTNAMELEN    64    /* max length of hostname */
  20.  
  21. #ifdef __KERNEL__
  22. # define HZ        CONFIG_HZ
  23. # define USER_HZ    HZ
  24. # define CLOCKS_PER_SEC    HZ    /* frequency at which times() counts */
  25. #else
  26.    /*
  27.     * Technically, this is wrong, but some old apps still refer to it.  The proper way to
  28.     * get the HZ value is via sysconf(_SC_CLK_TCK).
  29.     */
  30. # define HZ 1024
  31. #endif
  32.  
  33. #endif /* _ASM_IA64_PARAM_H */
  34.