Hi, I have linux 2.6.23 and used linux-2.6.26-android-m5rc14 as reference to port android changes.
I am able to port all code, BINDER, LOGGER, LOW_MEMORY_KILL successfully. Power and ASHMEM related code is not there with 2.6.23. When I am starting init , I am getting segmentation fault. When I debug using strace, found that it may ASHMEM support from kernel. So I tried to port ashmem code: http://git.android.com/?p=kernel.git;a=commit;h=7c93d1ee2eba929ed9496d58e473265b470aca8eto my kernel (2.6.23). When I am trying to compile my 2.6.23 with these changes its failing with error related to shmem_zero_setup functions declaration. I am see the new code added from 2.6.25 ( to my 2.6.23 ), there is extern of shmem_zero_setup function, old function had only one arg where other new one has two args so old code from ( mm/mmap) still using this function with one arg and new ( in mm/tinyshmem.c) using with two args. Whats should I do to overcome this problem ? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to android-internals@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---