2003-09-01 06:24:07

by Gordon Stanton

[permalink] [raw]
Subject: [RFC] must fix generic_serial .c

Hi,
While trying to get most drivers in the kernel to compile, I had to skip a lot of the older ones that use cli() and sti() since deep knowledge is needed to fix those. Because of this I am asking that someone would please fix generic_serial.c in drivers/char and document in a HOWTO on the steps they took and the reasons behind it. This would help more people to be able to understand and fix a lot of the other drivers with the cli/sti problem. Even if the it wasn't generic_serial.c but one of the other serial drivers with the same problem, it still would be very instructive and help other to improve the kernel quicker.

Gordon
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze


2003-09-06 19:38:40

by Adrian Bunk

[permalink] [raw]
Subject: Re: [RFC] must fix generic_serial .c

On Mon, Sep 01, 2003 at 02:26:43PM +0800, Gordon Stanton wrote:

> Hi,

Hi Gordon,

> While trying to get most drivers in the kernel to compile, I had to skip a lot of the older ones that use cli() and sti() since deep knowledge is needed to fix those. Because of this I am asking that someone would please fix generic_serial.c in drivers/char and document in a HOWTO on the steps they took and the reasons behind it. This would help more people to be able to understand and fix a lot of the other drivers with the cli/sti problem. Even if the it wasn't generic_serial.c but one of the other serial drivers with the same problem, it still would be very instructive and help other to improve the kernel quicker.

it's a known problem that generic_serial doesn't compile in SMP kernels
due to cli/sti problems.

Documentation/cli-sti-removal.txt already documents how to fix such
drivers (although it's usually non-trivial).

> Gordon

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed