diff options
author | Rik Faith <faith@alephnull.com> | 2000-08-18 18:57:56 +0000 |
---|---|---|
committer | Rik Faith <faith@alephnull.com> | 2000-08-18 18:57:56 +0000 |
commit | 364d44a24cb7a32ab7ac860e9dde0cd5d082fcd7 (patch) | |
tree | 04abfc9f7e3c0908dba82b438f1b354db51e8e92 /linux/drmP.h | |
parent | f0f6509a72abf3a3a0a8f26a35b7a8f3d96cbb9b (diff) |
Fix ABA problem in drm_freelist_{put,try}
Diffstat (limited to 'linux/drmP.h')
-rw-r--r-- | linux/drmP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drmP.h b/linux/drmP.h index 0fa20571..aa9bc01a 100644 --- a/linux/drmP.h +++ b/linux/drmP.h @@ -328,6 +328,7 @@ typedef struct drm_freelist { int low_mark; /* Low water mark */ int high_mark; /* High water mark */ atomic_t wfh; /* If waiting for high mark */ + spinlock_t lock; } drm_freelist_t; typedef struct drm_buf_entry { |