Linus Torvalds caf5b04c82 x86: Work around compiler code generation bug with -Os
Some versions of gcc generate incorrect code for the inet_check_attr()
function, apparently due to a totally bogus index -> pointer comparison
transformation.

At least "gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)" from FC4 is
affected, possibly others too.

This changes the function subtly so that the buggy gcc transformation
doesn't trigger.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-14 22:08:28 -08:00
..
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2005-08-29 16:01:32 -07:00
2006-01-11 18:42:14 -08:00
2005-08-29 16:08:31 -07:00
2006-01-03 14:38:34 -08:00
2006-01-11 18:42:14 -08:00
2006-01-09 14:16:28 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-01-03 13:10:28 -08:00
2005-08-29 15:33:20 -07:00
2005-11-08 09:41:34 -08:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:10:27 -08:00
2006-01-03 16:03:49 -08:00
2006-01-03 13:11:09 -08:00
2005-11-10 17:07:24 -08:00
2006-01-03 16:03:49 -08:00
2005-11-10 17:13:47 -08:00
2006-01-04 13:59:32 -08:00