Re: [PATCH v3 1/2] clocksource: Update to the newer memory functions.

2014-09-30 Thread Thomas Gleixner
On Tue, 30 Sep 2014, Xiubo Li wrote: > Use ioread{16,32} instead of read{w,l}_relaxed. > > For read{w,l}_relaxed accessor, if one arch has its own defination, > then used it. Or will use the generic one, which will be read as LE > endian as default. > > For some ARCHes, such PowerPC, if using t

[PATCH v3 1/2] clocksource: Update to the newer memory functions.

2014-09-29 Thread Xiubo Li
Use ioread{16,32} instead of read{w,l}_relaxed. For read{w,l}_relaxed accessor, if one arch has its own defination, then used it. Or will use the generic one, which will be read as LE endian as default. For some ARCHes, such PowerPC, if using the clocksource mmio, the read{w,l}_relaxed will could