Re: [PATCH 2/6] Blackfin Serial Driver: Add a debug function toserial driver.
From: gyang
Date: Tue Oct 14 2008 - 22:28:13 EST
Hi, Alan,
We are making a SMP like patch to blackfin, cpu_relax() is replaced by a
data cache flush function which will count it to a per-cpu counter.
If this serial function is called too early, the per-cpu data area have
not been initialized, this call will cause crash.
So we'd like to use barrier() instead of cpu_relax().
BRs,
Graf
在 2008-10-14二的 14:27 +0100,Alan Cox写道:
> > - cpu_relax();
> > + barrier();
> > +
>
> Seems to be an odd unrelated change ?
--
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/