Messages in this thread | | | Date | Sun, 12 Oct 2008 21:46:42 +0200 | From | Karel Zak <> | Subject | Re: [kerneloops] regression in 2.6.27 wrt "lock_page" and the "hwclock" program |
| |
On Sun, Oct 05, 2008 at 10:27:42AM -0700, Andrew Morton wrote: > On Sun, 5 Oct 2008 08:11:45 -0700 Arjan van de Ven <arjan@infradead.org> wrote: > > > > static unsigned long > > atomic(const char *name, unsigned long (*op)(unsigned long), > > unsigned long arg) > > { > > unsigned long v; > > __asm__ volatile ("cli"); > > v = (*op)(arg); > > __asm__ volatile ("sti"); > > return v; > > } > > > > looks like it (but only on 32 bit x86, not on 64 bit x86) > > I suspect this is new in hwclock?
since util-linux-2.9v, year 1999
> > (and yes someone really ought to fix hwclock; it's rather broken) > > well yeah. Recently broken?
9 years ago
Karel
-- Karel Zak <kzak@redhat.com>
| |