Thread (45 messages) 45 messages, 7 authors, 2020-06-08

Re: [PATCH v4] alpha: fix memory barriers so that they conform to the specification

From: Mikulas Patocka <mpatocka@redhat.com>
Date: 2020-05-23 20:11:25
Also in: linux-rtc, linux-serial


On Sat, 23 May 2020, Maciej W. Rozycki wrote:
On Sat, 23 May 2020, Mikulas Patocka wrote:
quoted
quoted
 A statement expression would do though, e.g.:

#define readb_relaxed(addr)	({ mb(); __raw_readb(addr); })

and might be preferable for code brevity to adding a zillion of inline 
functions.

  Maciej
I know, but that file uses inline functions everywhere else, so I wanted 
to make it consistent.
 Fair enough, fine with me.  I still can't access my Alpha system, have 
you verified your latest version at run time?

  Maciej
Yes - it runs without any hang.

Mikulas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help