]> git.baikalelectronics.ru Git - kernel.git/commit
x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they...
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Sun, 12 Apr 2009 15:07:25 +0000 (20:37 +0530)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Apr 2009 16:35:02 +0000 (18:35 +0200)
commit36476e1ac6d538782999efaf74a70c0c4bac7a9e
treec49f7c80efd8aa41baf653f463fc317f136f85e7
parent30547281fb0a6c238e3d5a315b2ff7e3524a8550
x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used

Impact: cleanup, address sparse warnings

Addresses the problem pointed out by these sparse warning:
  arch/x86/vdso/vma.c:19:28: warning: symbol 'vdso_enabled' was not declared. Should it be static?
  arch/x86/vdso/vma.c:101:5: warning: symbol 'arch_setup_additional_pages' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
LKML-Reference: <1239548845.4170.2.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/vdso/vma.c