diff options
author | Andrew Morton <[email protected]> | 2014-11-01 21:18:26 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-11-01 21:18:33 +0100 |
commit | a92f101bc99d17b75021cf29f18cc57f39a37d1f (patch) | |
tree | 7c0476b9025c6288d5e8b229913661f03d016922 /lib/memory-notifier-error-inject.c | |
parent | 1c0c1b93df4dad43b8050db005bb1c03bc7e09bf (diff) |
x86: vdso: Fix build with older gcc
gcc-4.4.4:
arch/x86/vdso/vma.c: In function 'vgetcpu_cpu_init':
arch/x86/vdso/vma.c:247: error: unknown field 'limit0' specified in initializer
arch/x86/vdso/vma.c:247: warning: missing braces around initializer
arch/x86/vdso/vma.c:247: warning: (near initialization for '(anonymous).<anonymous>')
arch/x86/vdso/vma.c:248: error: unknown field 'limit' specified in initializer
arch/x86/vdso/vma.c:248: warning: excess elements in struct initializer
arch/x86/vdso/vma.c:248: warning: (near initialization for '(anonymous)')
....
I couldn't find any way of tricking it into accepting an initializer
format :(
Reported-by: Boris Ostrovsky <[email protected]>
Fixes: 258801563b ("x86/vdso: Change the PER_CPU segment to use struct desc_struct")
Signed-off-by: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions