[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1224037421.6284.40.camel@dyang>
Date: Wed, 15 Oct 2008 10:23:41 +0800
From: gyang <graf.yang@...log.com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Bryan Wu <cooloney@...nel.org>, alan@...hat.com,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Subject: Re: [PATCH 2/6] Blackfin Serial Driver: Add a debug function to
serial driver.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists