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

Andy Green andy at openmoko.com
Thu Jan 29 13:57:54 CET 2009


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

Somebody in the thread at some point said:
| Hi,
|
| Andy Green wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Somebody in the thread at some point said:
|>
|> | |  static DECLARE_MUTEX(console_sem);
|> | | +#ifdef CONFIG_ANDROID_CONSOLE_EARLYSUSPEND
|> | |  static DECLARE_MUTEX(secondary_console_sem);
|> | | +#endif
|> |
|> |> This is a ifndef.
| Yes it is wrong, as I say I change it with a ifndef
|> | | +#ifndef CONFIG_ANDROID_CONSOLE_EARLYSUSPEND
|> | |      if (console_suspended) {
|> | |          down(&secondary_console_sem);
|>
|> Yes but secondary_console_sem only gets defined if
|> CONFIG_ANDROID_CONSOLE_EARLYSUSPEND is defined (see what I pasted just
|> above), so it's a bug.
|>
| Yes, I see.

Ah I got it the definition is the only thing wrong, I made a little
patch on top.

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

iEYEARECAAYFAkmBp9IACgkQOjLpvpq7dMqDFACeJZTjZCrMRC66XjVk8HcrRDvh
HNwAn3J9NbG2bC3Xr7ueEf2ggrYSVVyT
=sJKM
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list