x86/vdso: Fix building on big endian host
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 29 Sep 2016 11:51:00 +0000 (11:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 30 Sep 2016 10:37:40 +0000 (12:37 +0200)
commite4aad64597d7a2455a541f904365b48d607916db
tree4fc661b8ab9279677a41ac905a7fb96ebba53504
parent192d1dccbfc5b901b66527df9df80304693cf06e
x86/vdso: Fix building on big endian host

We need to call GET_LE to read hdr->e_type.

Fixes: 57f90c3dfc75 ("x86/vdso: Error out if the vDSO isn't a valid DSO")
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org
Link: http://lkml.kernel.org/r/20160929193442.GA16617@gate.crashing.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/entry/vdso/vdso2c.h