Re: [PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for inconsistencies

2017-08-29 Thread Peter Zijlstra
On Tue, Aug 29, 2017 at 08:30:15AM +0200, Greg KH wrote: > On Thu, Jul 06, 2017 at 09:34:18AM -0700, Babu Moger wrote: > > Resending the series per Greg KH's request. > > > > Found this problem while enabling queued rwlock on SPARC. > > The parameter CONFIG_CPU_BIG_ENDIAN is used to clear the > >

Re: [PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for inconsistencies

2017-08-28 Thread Greg KH
On Thu, Jul 06, 2017 at 09:34:18AM -0700, Babu Moger wrote: > Resending the series per Greg KH's request. > > Found this problem while enabling queued rwlock on SPARC. > The parameter CONFIG_CPU_BIG_ENDIAN is used to clear the > specific byte in qrwlock structure. Without this parameter, > we clea

[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for inconsistencies

2017-07-06 Thread Babu Moger
Resending the series per Greg KH's request. Found this problem while enabling queued rwlock on SPARC. The parameter CONFIG_CPU_BIG_ENDIAN is used to clear the specific byte in qrwlock structure. Without this parameter, we clear the wrong byte. Here is the code in include/asm-generic/qrwlock.h sta

Re: [PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for inconsistencies

2017-07-04 Thread Geert Uytterhoeven
On Tue, Jun 13, 2017 at 12:09 AM, Babu Moger wrote: > Found this problem while enabling queued rwlock on SPARC. > The parameter CONFIG_CPU_BIG_ENDIAN is used to clear the > specific byte in qrwlock structure. Without this parameter, > we clear the wrong byte. > Here is the code in include/asm-gene

[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for inconsistencies

2017-06-12 Thread Babu Moger
Found this problem while enabling queued rwlock on SPARC. The parameter CONFIG_CPU_BIG_ENDIAN is used to clear the specific byte in qrwlock structure. Without this parameter, we clear the wrong byte. Here is the code in include/asm-generic/qrwlock.h static inline u8 *__qrwlock_write_byte(struct qr