Re: [RFC] must fix generic_serial .c

From: Adrian Bunk
Date: Sat Sep 06 2003 - 14:42:53 EST


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

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