Re: [RFC PATCH] 64bit LWS CAS

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

 



On 7/17/2014 4:00 PM, Guy Martin wrote:
+#include <stdint.h>
+
I would kill the above include and use long long instead of int64_t. Generally,
we don't want libgcc routines to depend on system includes.

SYNC_LOCK_RELEASE needs to be fixed to use __kernel_cmpxchg and __kernel_cmpxchg_dword32. The current implementation won't be atomic for long long, and in glibc, a similar implementation caused problems for the int type. I've been testing a patch for the latter and will apply it soon.

Dave

--
John David Anglin    dave.anglin@xxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux