mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
bitkeeper revision 1.184.3.1 (3ead21b07jSX5Pp9qvw5mfnYW7oDfA)
tweak (added 'IS_PRIV(p)' macro)
This commit is contained in:
1 parent
07d4591096
commit
c0aaf55de7
1 file changed
+4
@@ -72,6 +72,10 @@ struct task_struct {
|
||||
int hyp_events; /* 08: pending intra-Xen events */
|
||||
unsigned int domain; /* 12: domain id */
|
||||
|
||||
// SMH: replace below when have explicit 'priv' flag or bitmask
|
||||
#define IS_PRIV(_p) ((_p)->domain == 0)
|
||||
|
||||
|
||||
/* An unsafe pointer into a shared data area. */
|
||||
shared_info_t *shared_info; /* 16: shared data area */
|
||||
|
||||
|
||||