projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Video: fb, add true ref_count atomicity
[cascardo/linux.git]
/
include
/
video
/
neomagic.h
diff --git
a/include/video/neomagic.h
b/include/video/neomagic.h
index
78b1f15
..
a9e118a
100644
(file)
--- a/
include/video/neomagic.h
+++ b/
include/video/neomagic.h
@@
-140,7
+140,8
@@
typedef volatile struct {
struct neofb_par {
struct vgastate state;
- atomic_t ref_count;
+ struct mutex open_lock;
+ unsigned int ref_count;
unsigned char MiscOutReg; /* Misc */
unsigned char CRTC[25]; /* Crtc Controller */