summaryrefslogtreecommitdiff
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2004-02-14 17:32:22 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-14 17:32:22 -0800
commit7b377012f0937e0705c3f27367f10ec724e38966 (patch)
tree4cc24803125138b36e3c11e2c8c6e8d643536e57 /include/linux/fb.h
parent29d6f8c42d8137f1c1206aa3342df537f5100e41 (diff)
[PATCH] Fix fbdev pixmap locking
This removes the broken locking code in the pixmaps, and rewrite the buffer access function to properly call fb_sync when needed. The old broken loocking is useless as we are covered by the console semaphore in all cases hopefully (except if I missed one :)
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index b4a8f5c48312..32d119d0d0ea 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -363,8 +363,6 @@ struct fb_pixmap {
/* access methods */
void (*outbuf)(u8 *dst, u8 *addr, unsigned int size);
u8 (*inbuf) (u8 *addr);
- spinlock_t lock; /* spinlock */
- atomic_t count;
};
/*