Re: current_thread_info() not respecting program order with gcc 4.8.x

2013-11-22 Thread Luis Lozano
On Fri, Nov 22, 2013 at 12:18 AM, Luis Lozano wrote: > On Thu, Nov 21, 2013 at 7:38 PM, Mathieu Desnoyers > wrote: >> >> - Original Message - >> > From: "Luis Lozano" >> > To: "Mathieu Desnoyers" >> > Cc: "Jakub

Re: current_thread_info() not respecting program order with gcc 4.8.x

2013-11-22 Thread Luis Lozano
On Thu, Nov 21, 2013 at 7:38 PM, Mathieu Desnoyers wrote: > > - Original Message - > > From: "Luis Lozano" > > To: "Mathieu Desnoyers" > > Cc: "Jakub Jelinek" , "Alexander Holler" > > , "Linus Torvalds"

Re: current_thread_info() not respecting program order with gcc 4.8.x

2013-11-20 Thread Luis Lozano
I have been monitoring this thread and trying to understand how could this happen. I noticed that the definition for ARM of current_thread_info looks like this: /* * how to get the thread information struct from C */ static inline struct thread_info *current_thread_info(void) __attribute_const_