From: Arjan van de Ven Date: Mon, 12 Feb 2007 08:55:37 +0000 (-0800) Subject: [PATCH] mark struct file_operations const 9 X-Git-Tag: v2.6.21-rc1~274^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c2e08c592cd357a8330c34def1e8ecfdcf53275;p=pandora-kernel.git [PATCH] mark struct file_operations const 9 Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accidental writes at compile time to these shared resources. Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed