Re: [PATCH] x86: usb debug port early console

From: H. Peter Anvin
Date: Wed Jul 23 2008 - 23:17:23 EST


Eric W. Biederman wrote:

+static void dbgp_breath(void)
+{
+ /* Sleep to give the debug port a chance to breathe */
+}
I expect the compiler will optimise away any calls to this.

It is documentation that is if it might be a good idea to not hit the
hardware there.


Sounds an awful lot like cpu_relax(); doesn't it?

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/