mirror of https://gitee.com/openkylin/linux.git
62322d2554
Mark the static struct file_operations in drivers/char as const. Making them const prevents accidental bugs, and moves them to the .rodata section so that they no longer do any false sharing; in addition with the proper debug option they are then protected against corruption.. [akpm@osdl.org: build fix] Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
Makefile | ||
zftape-buffers.c | ||
zftape-buffers.h | ||
zftape-ctl.c | ||
zftape-ctl.h | ||
zftape-eof.c | ||
zftape-eof.h | ||
zftape-init.c | ||
zftape-init.h | ||
zftape-read.c | ||
zftape-read.h | ||
zftape-rw.c | ||
zftape-rw.h | ||
zftape-vtbl.c | ||
zftape-vtbl.h | ||
zftape-write.c | ||
zftape-write.h | ||
zftape_syms.c |