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 | ||
fip_firm.h | ||
i2cmd.c | ||
i2cmd.h | ||
i2ellis.c | ||
i2ellis.h | ||
i2hw.h | ||
i2lib.c | ||
i2lib.h | ||
i2os.h | ||
i2pack.h | ||
ip2.h | ||
ip2base.c | ||
ip2ioctl.h | ||
ip2main.c | ||
ip2trace.h | ||
ip2types.h |