OpenCloudOS-Kernel/arch/x86/vdso
Jan Beulich d093601be5 x86-32, vdso: Fix vDSO build error due to missing align_vdso_addr()
Relying on static functions used just once to get inlined (and
subsequently have dead code paths eliminated) is wrong: Compilers are
free to decide whether they do this, regardless of optimization level.
With this not happening for vdso_addr() (observed with gcc 4.1.x), an
unresolved reference to align_vdso_addr() causes the build to fail.

[ hpa: vdso_addr() is never actually used on x86-32, as calculate_addr
  in map_vdso() is always false.  It ought to be possible to clean
  this up further, but this fixes the immediate problem. ]

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/53B5863B02000078000204D5@mail.emea.novell.com
Acked-by: Andy Lutomirski <luto@amacapital.net>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Tested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-07-10 16:06:04 -07:00
..
vdso32 x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
.gitignore x86, vdso: Reimplement vdso.so preparation in build-time C 2014-05-05 13:18:51 -07:00
Makefile x86/vdso: Move DISABLE_BRANCH_PROFILING into the vdso makefile 2014-06-24 13:53:00 -07:00
checkundef.sh x86, vdso: Don't quote $nm in the script for checking vdso references 2010-07-27 23:52:29 -07:00
vclock_gettime.c x86/vdso: Move DISABLE_BRANCH_PROFILING into the vdso makefile 2014-06-24 13:53:00 -07:00
vdso-fakesections.c x86/vdso: Remove some redundant in-memory section headers 2014-06-19 15:45:26 -07:00
vdso-layout.lds.S x86/vdso: Remove some redundant in-memory section headers 2014-06-19 15:45:26 -07:00
vdso-note.S x86_64: move vdso 2007-10-11 11:17:10 +02:00
vdso.lds.S x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vdso2c.c x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vdso2c.h x86-64, vdso: Fix vDSO build breakage due to empty .rela.dyn 2014-07-10 15:59:56 -07:00
vdso32-setup.c x86, mm: Improve _install_special_mapping and fix x86 vdso naming 2014-05-20 11:38:42 -07:00
vdsox32.lds.S x86/vdso: Improve the fake section headers 2014-06-19 15:45:12 -07:00
vgetcpu.c x86: vdso: pvclock gettime support 2012-11-27 23:29:11 -02:00
vma.c x86-32, vdso: Fix vDSO build error due to missing align_vdso_addr() 2014-07-10 16:06:04 -07:00