From: Chris Metcalf Date: Thu, 15 Aug 2013 20:29:02 +0000 (-0400) Subject: tile: make __write_once a synonym for __read_mostly X-Git-Tag: v3.12-rc1~120^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce61cdc270a5e0dd18057bbf29bd3471abccbda8;p=pandora-kernel.git tile: make __write_once a synonym for __read_mostly This was really only useful for TILE64 when we mapped the kernel data with small pages. Now we use a huge page and we really don't want to map different parts of the kernel data in different ways. We retain the __write_once name in case we want to bring it back to life at some point in the future. Note that this change uncovered a latent bug where the "smp_topology" variable happened to always be aligned mod 8 so we could store two "int" values at once, but when we eliminated __write_once it ended up only aligned mod 4. Fix with an explicit annotation. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed