~ressu/+junk/xen-ubuntu

« back to all changes in this revision

Viewing changes to xen/include/asm-ia64/linux/asm/param.h

  • Committer: sami at haahtinen
  • Author(s): Bastian Blank
  • Date: 2010-09-03 15:14:28 UTC
  • Revision ID: sami@haahtinen.name-20100903151428-f88eg54n2fdnak41
Tags: upstream-4.0.1
ImportĀ upstreamĀ versionĀ 4.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
# include <linux/config.h>      /* mustn't include <linux/config.h> outside of #ifdef __KERNEL__ */
 
23
# ifdef CONFIG_IA64_HP_SIM
 
24
  /*
 
25
   * Yeah, simulating stuff is slow, so let us catch some breath between
 
26
   * timer interrupts...
 
27
   */
 
28
#  define HZ      32
 
29
# else
 
30
#  define HZ    CONFIG_HZ
 
31
# endif
 
32
# define USER_HZ        HZ
 
33
# define CLOCKS_PER_SEC HZ      /* frequency at which times() counts */
 
34
#else
 
35
   /*
 
36
    * Technically, this is wrong, but some old apps still refer to it.  The proper way to
 
37
    * get the HZ value is via sysconf(_SC_CLK_TCK).
 
38
    */
 
39
# define HZ 1024
 
40
#endif
 
41
 
 
42
#endif /* _ASM_IA64_PARAM_H */