Re: Illegal use of reserved word in system.h

From: Adrian Bunk
Date: Wed May 18 2005 - 14:59:02 EST


On Wed, May 18, 2005 at 12:07:29PM -0700, Gilbert, John wrote:

> Hi Adrian,

Hi John,

> This looks like the source of some stupidity.
> http://bugs.mysql.com/bug.php?id=555
>...

that's not a check whether the system supports SMP.

Looking at the source code of MySQL, it seems MySQL does some dirty
tricks for using the inlines from asm/atomic.h in userspace.

It's _really_ wrong to do this.

> John G.

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/