diff options
author | Jan-Simon Möller <[email protected]> | 2014-09-05 16:16:45 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-09 07:13:39 +0200 |
commit | cc99535eb4049c730cac421d403d079593cb31ae (patch) | |
tree | 8bf45c2de9340c196be55662d43a22ced3fc86e0 /net/lapb/lapb_subr.c | |
parent | 8a5a5d1530d55e367ef29c80946d0274717617bb (diff) |
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 <[email protected]>
Signed-off-by: Behan Webster <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions