Use compile-time constant for vm_guest

This commit is contained in:
Sebastian Huber
2013-10-28 12:04:06 +01:00
parent ea87228a26
commit bae343a308
4 changed files with 4 additions and 39 deletions

View File

@@ -75,7 +75,11 @@ extern int bootverbose; /* nonzero to print verbose messages */
extern int maxusers; /* system tune hint */
extern int ngroups_max; /* max # of supplemental groups */
#ifndef __rtems__
extern int vm_guest; /* Running as virtual machine guest? */
#else /* __rtems__ */
#define vm_guest VM_GUEST_NO
#endif /* __rtems__ */
/*
* Detected virtual machine guest types. The intention is to expand