From: Jan-Simon Möller Date: Fri, 5 Sep 2014 23:16:45 +0000 (-0700) Subject: x86/mm: Apply the section attribute to the variable, not its type X-Git-Tag: fixes-for-v3.18-merge-window~105^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc99535eb4049c730cac421d403d079593cb31ae;p=pandora-kernel.git x86/mm: Apply the section attribute to the variable, not its type This fixes a compilation error in clang in that a linker section attribute can't be added to a type: arch/x86/mm/mmap.c:34:8: error: '__section__' attribute only applies to functions and global variables struct __read_mostly ... By moving the section attribute to the variable declaration, the desired effect is achieved. Signed-off-by: Jan-Simon Möller Signed-off-by: Behan Webster Cc: Linus Torvalds Cc: Andrew Morton Link: http://lkml.kernel.org/r/1409959005-11479-1-git-send-email-behanw@converseincode.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed