Thread (3 messages) flat view 3 messages, 2 authors, 2006-09-14
STALE7316d

[PATCH 1/5] fbcmap.c: mark structs const or __read_mostly

From: Helge Deller <deller@gmx.de>
Date: 2006-09-14 20:10:46

- Mark the default colormaps read-only, as nobody should be allowed to modify them
- Additionally mark color values as __read_mostly since they will only be modified (very seldom) by fb_invert_cmaps()
- Add named initializers in fb_cmap structs and use the ARRAY_SIZE() macro

Signed-off-by: Helge Deller <deller@gmx.de>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help