Re: [PATCH 2.4.20-BK] make new ide compile

Stelian Pop (stelian@popies.net)
Tue, 10 Dec 2002 16:35:34 +0100


On Tue, Dec 10, 2002 at 04:07:00PM +0000, Alan Cox wrote:

> On Tue, 2002-12-10 at 14:49, Stelian Pop wrote:
> > ===== include/linux/ide.h 1.7 vs edited =====
> > --- 1.7/include/linux/ide.h Fri Nov 29 23:03:01 2002
> > +++ edited/include/linux/ide.h Tue Dec 10 12:20:01 2002
> > @@ -1755,5 +1755,8 @@
> > #define ide_lock (io_request_lock)
> > #define DRIVE_LOCK(drive) ((drive)->queue.queue_lock)
> >
> > +#define local_save_flags(flags) save_flags((flags))
> > +#define save_and_cli(x) local_irq_save(x)
> > +#define local_irq_set(flags) do { local_save_flags((flags)); local_irq_enable(); } while (0)
> >
>
> Please don't apply these changes. Use the ones from -ac

As I said, it is just the dirty patch making it compile (and run),
while waiting for the proper fix.

It was never intended for integration in any tree, of course :-)

Stelian.

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