Thread (17 messages) flat view 17 messages, 6 authors, 2012-01-06
STALE5356d

[RFC PATCH v2 1/2] cpuidle: Add common init interface and idle functionality

From: Rob Lee <hidden>
Date: 2012-01-05 16:42:57

On 5 January 2012 03:32, Russell King - ARM Linux
[off-list ref] wrote:
On Wed, Dec 14, 2011 at 01:02:05AM -0600, Robert Lee wrote:
quoted
+ ? ? asm("b 1f; .align 5; 1:");
+ ? ? asm("mcr p15, 0, r0, c7, c10, 4"); ? ? ?/* drain write buffer */
Err, no. ?The compiler is free to add whatever instructions it sees
fit between these two asm() statements.

If you want to ask the compiler to issue a set of assembly instructions
as a block, you have to use just one asm() statement.
Thanks.  I will fix that in v3.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help