Messages in this thread |  | | | Date | Wed, 15 Oct 2008 04:38:11 -0400 | | From | Alan Cox <> | | Subject | Re: [PATCH 2/6] Blackfin Serial Driver: Add a debug function to serial driver. | |
On Wed, Oct 15, 2008 at 10:23:41AM +0800, gyang wrote:
> 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().
Can you split that out as a separate change and include the explanation in
the patch then.
Thanks
Alan
|  |