[PATCH] Fix compilation of the stable kernel for gcc-4.3.1

Andy Green andy at openmoko.com
Thu Oct 9 22:19:46 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| Prevent gcc-4.3 form "optimizing" the while loop into a costly modulo
operation.
| Patch found at http://lkml.org/lkml/2008/2/22/464.

I'm still cooking with 4.1.2 toolchain, but I added this patch to stable
after confirming it would still compile OK.  Thanks for finding out
about it and reporting it.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjuZ1sACgkQOjLpvpq7dMrSWQCePyOojMqxKHYIIhOCD9+fJH1K
1IYAnAsBtMUl3fPaLEFWIa6Su2qGK5w1
=4C5o
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list