Re: [PATCH] Remove extra shift in __SI_CODE macro

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sun Jul 23 2000 - 13:38:51 EST


On Sun, 23 Jul 2000, Robert H. de Vries wrote:
>
> The __SI_CODE macro shifts its argument 16 bits to the left while the only
> argument used is already shifted 16 bits to the left. In this way no bits are
> left on a 32 bit architecture.
> Hence this patch, which removes the superfluous shift.

Sounds like the _users_ of __SI_CODE should be fixed, rather than
__SI_CODE. The new definition of __SI_CODE doesn't make much sense, in my
opinion.

                Linus

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



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:20 EST