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
Signature · 5 lines
______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze
Quoted 1 line · Gordon Stanton
Hi,
Hi Gordon,
Quoted 1 line
While trying to get most drivers in the kernel to compile, I had to skip a lot of the older ones that use
cli()andsti()since deep knowledge is needed to fix those. Because of this I am asking that someone would please fixgeneric_serial.cindrivers/charand 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'tgeneric_serial.cbut 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).
Quoted 1 line
Gordon
cu
Adrian
Signature · 4 lines
"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