Skip to content

Commit

Permalink
um, x86: Fix vDSO build
Browse files Browse the repository at this point in the history
Commit 663b55b ("x86: Delete non-required instances of include <linux/init.h>")
broke the UML build.

  arch/x86/um/vdso/vdso.S: Assembler messages:
  arch/x86/um/vdso/vdso.S:2: Error: no such instruction: `__initdata'
  arch/x86/um/vdso/vdso.S:9: Error: no such instruction: `__finit'

UML's vDSO needs linux/init.h.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: paul.gortmaker@windriver.com
Link: http://lkml.kernel.org/r/1389538341-31383-1-git-send-email-richard@nod.at
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Richard Weinberger authored and Ingo Molnar committed Jan 12, 2014
1 parent 663b55b commit 106553a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/um/vdso/vdso.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <linux/init.h>

__INITDATA

Expand Down

0 comments on commit 106553a

Please sign in to comment.