int drm_notifier(void *priv)
static int drm_notifier(void *priv)
int drm_notifier(void *priv){	drm_sigdata_t *s = (drm_sigdata_t *)priv;	unsigned int  old, new, prev;				/* Allow signal delivery if lock isn't held */	if (!s->lock || !_DRM_LOCK_IS_HELD(s->lock->lock)	    || _DRM_LOCKING_CONTEXT(s->lock->lock) != s->context) return 1;				/* Otherwise, set flag to force call to                                   drmUnlock */	do {		old  = s->lock->lock;		new  = old | _DRM_LOCK_CONT;		prev = cmpxchg(&s->lock->lock, old, new);	} while (prev != old);	return 0;}