Re: [tip:x86/vdso] x86, vdso: Use <tools/le_byteshift.h> for littleendian access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Jun 2014 14:28:37 -0700 "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> Want to test this patch before I commit it?
> 
> ...
>
> >From 15ea1a528e08c6bc322f10686ec8d73ba413b941 Mon Sep 17 00:00:00 2001
> From: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Date: Tue, 10 Jun 2014 14:25:26 -0700
> Subject: [PATCH] x86, vdso: Remove one final use of htole16()
> 
> One final use of the macros from <endian.h> which are not available on
> older system.  In this case we had one sole case of *writing* a
> littleendian number, but the number is SHN_UNDEF which is the constant
> zero, so rather than dealing with the general case of littleendian
> puts here, just document that the constant is zero and be done with
> it.

Compiles and boots, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux