From: Arjan van de Ven Date: Mon, 12 Feb 2007 08:55:40 +0000 (-0800) Subject: [PATCH] mark struct inode_operations const 3 X-Git-Tag: v2.6.21-rc1~274^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5ef1c42c51b1b5b4a401a6517bdda30933ddbaf;p=pandora-kernel.git [PATCH] mark struct inode_operations const 3 Many struct inode_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