Thread (14 messages) flat view 14 messages, 5 authors, 2011-02-18

[PATCH V3 3/4] ARM: Xilinx: base header files and assembly macros

From: Stephen Boyd <hidden>
Date: 2011-02-17 21:58:29
Also in: lkml

On 02/17/2011 02:01 AM, Jamie Iles wrote:
quoted
+
+static void putc(char ch)
+{
+	/*
+	 * Wait for room in the FIFO, then write the char into the FIFO
+	 */
+	while (UART_STATUS(LL_UART_PADDR) & UART_SR_TXFULL)
+		;
It might be worth adding a barrier() call to these loops to be explicit 
about the volatility.
I think you want cpu_relax() then.

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help