linux_dsm_epyc7002/arch/x86/vdso
H. Peter Anvin bdfb9bcc25 x86, vdso: Use <tools/le_byteshift.h> for littleendian access
There are no standard functions for littleendian data (unlike
bigendian data.)  Thus, use <tools/le_byteshift.h> to access
littleendian data members.  Those are fairly inefficient, but it
doesn't matter for this purpose (and can be optimized later.)  This
avoids portability problems.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Tested-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/20140606140017.afb7f91142f66cb3dd13c186@linux-foundation.org
2014-06-06 14:54:54 -07:00
..
vdso32 x86, vdso: Remove vestiges of VDSO_PRELINK and some outdated comments 2014-05-05 13:19:07 -07:00
.gitignore x86, vdso: Reimplement vdso.so preparation in build-time C 2014-05-05 13:18:51 -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
Makefile x86, vdso: Use <tools/le_byteshift.h> for littleendian access 2014-06-06 14:54:54 -07:00
vclock_gettime.c x86, vdso: Move the vvar and hpet mappings next to the 64-bit vDSO 2014-05-05 13:19:01 -07:00
vdso2c.c x86, vdso: Use <tools/le_byteshift.h> for littleendian access 2014-06-06 14:54:54 -07:00
vdso2c.h x86, vdso: Use <tools/le_byteshift.h> for littleendian access 2014-06-06 14:54:54 -07:00
vdso32-setup.c x86, mm: Improve _install_special_mapping and fix x86 vdso naming 2014-05-20 11:38:42 -07:00
vdso-layout.lds.S x86, vdso: Move the vvar and hpet mappings next to the 64-bit vDSO 2014-05-05 13:19:01 -07:00
vdso-note.S x86_64: move vdso 2007-10-11 11:17:10 +02:00
vdso.lds.S x86, vdso: Remove vestiges of VDSO_PRELINK and some outdated comments 2014-05-05 13:19:07 -07:00
vdsox32.lds.S x86, vdso: Remove vestiges of VDSO_PRELINK and some outdated comments 2014-05-05 13:19:07 -07:00
vgetcpu.c x86: vdso: pvclock gettime support 2012-11-27 23:29:11 -02:00
vma.c x86, mm: Improve _install_special_mapping and fix x86 vdso naming 2014-05-20 11:38:42 -07:00