ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/param.h @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents 5a63f675107c
children 3adf00179a63
line source
1 #ifndef _ASMi386_PARAM_H
2 #define _ASMi386_PARAM_H
4 #ifdef __KERNEL__
5 # include <linux/config.h>
6 # define HZ CONFIG_HZ /* Internal kernel timer frequency */
7 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
8 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
9 #endif
11 #ifndef HZ
12 #define HZ 100
13 #endif
15 #define EXEC_PAGESIZE 4096
17 #ifndef NOGROUP
18 #define NOGROUP (-1)
19 #endif
21 #define MAXHOSTNAMELEN 64 /* max length of hostname */
22 #define COMMAND_LINE_SIZE 256
24 #endif