ia64/xen-unstable

changeset 393:7c2130bbc0f7

bitkeeper revision 1.184.3.1 (3ead21b07jSX5Pp9qvw5mfnYW7oDfA)

tweak (added 'IS_PRIV(p)' macro)
author smh22@boulderdash.cl.cam.ac.uk
date Mon Apr 28 12:42:24 2003 +0000 (2003-04-28)
parents 49c0cdb50376
children d1688684d94d
files xen/include/xeno/sched.h
line diff
     1.1 --- a/xen/include/xeno/sched.h	Wed Apr 23 15:21:36 2003 +0000
     1.2 +++ b/xen/include/xeno/sched.h	Mon Apr 28 12:42:24 2003 +0000
     1.3 @@ -72,6 +72,10 @@ struct task_struct {
     1.4      int hyp_events;              /* 08: pending intra-Xen events */
     1.5      unsigned int domain;         /* 12: domain id */
     1.6  
     1.7 +    // SMH: replace below when have explicit 'priv' flag or bitmask
     1.8 +#define IS_PRIV(_p) ((_p)->domain == 0) 
     1.9 +
    1.10 +
    1.11      /* An unsafe pointer into a shared data area. */
    1.12      shared_info_t *shared_info;  /* 16: shared data area */
    1.13