[ANDROID KERNEL PATCH 5/7] Update Kernel core files

Andy Green andy at openmoko.com
Thu Jan 29 13:47:56 CET 2009


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

Somebody in the thread at some point said:
| Somebody in the thread at some point said:
| | Update kernel core files to support android suspend/resume. These
| | change are conditioned by ifdef
|
| Hi -
|
| Here's a bug that breaks build without
| CONFIG_ANDROID_CONSOLE_EARLYSUSPEND.. should it be #ifdef not #ifndef?

Another similar one in same file

void release_console_sem(void)
{
~        unsigned long flags;
~        unsigned _con_start, _log_end;
~        unsigned wake_klogd = 0;

~        if (console_suspended) {
#ifdef CONFIG_ANDROID_CONSOLE_EARLYSUSPEND
~                up(&console_sem);
#else
~                up(&secondary_console_sem);
#endif
~                return;
~        }

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

iEYEARECAAYFAkmBpXwACgkQOjLpvpq7dMowwgCbB157qEugQVib2B4CEo2nIqPg
w8AAmwRDYVsBxOyDClSTrAgl3GbQ0HdB
=LXps
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list