Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756083AbZJ2Bzf (ORCPT ); Wed, 28 Oct 2009 21:55:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755033AbZJ2Bzf (ORCPT ); Wed, 28 Oct 2009 21:55:35 -0400 Received: from adelie.canonical.com ([91.189.90.139]:33101 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752299AbZJ2Bze (ORCPT ); Wed, 28 Oct 2009 21:55:34 -0400 Message-ID: <4AE8F604.2090005@canonical.com> Date: Thu, 29 Oct 2009 09:55:16 +0800 From: Bryan Wu User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Greg KH CC: Brian Swetland , Eric Miao , kernel-team@lists.ubuntu.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: Android logger: fix compiling error References: <1256316741-14053-1-git-send-email-bryan.wu@canonical.com> <20091027140558.GA17208@suse.de> <4AE8E953.6090504@canonical.com> <20091029010419.GA18410@suse.de> <4AE8EBCB.5030102@canonical.com> <20091029011759.GA908@suse.de> <4AE8EF8C.9030805@canonical.com> <20091029012857.GA30274@suse.de> In-Reply-To: <20091029012857.GA30274@suse.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2875 Lines: 69 Greg KH wrote: > On Thu, Oct 29, 2009 at 09:27:40AM +0800, Bryan Wu wrote: >> Greg KH wrote: >>> On Thu, Oct 29, 2009 at 09:11:39AM +0800, Bryan Wu wrote: >>>> Greg KH wrote: >>>>> On Thu, Oct 29, 2009 at 09:01:07AM +0800, Bryan Wu wrote: >>>>>> Greg KH wrote: >>>>>>> On Tue, Oct 27, 2009 at 12:40:07PM +0800, Eric Miao wrote: >>>>>>>>> Compiling broke since commit a99bbaf5ee6bad1aca0c88ea65ec6e5373e86184 >>>>>>>>> headers: remove sched.h from poll.h >>>>>>>>> >>>>>>>>> Adding to fix this compiling bug. >>>>>>> I have now just marked the android drivers as broken, as this is not the >>>>>>> only build error in them at the moment :( >>>>>>> >>>>>> Yeah, actually the drivers/staging/android/lowmemorykiller.c has been >>>>>> failing to compile for a long time, because that struct mm_struct does >>>>>> not have a field named oom_adj. All the Android drivers are compiled >>>>>> as modules in Ubuntu kernel package, except this one. >>>>>> >>>>>> Although Android public kernel is still in 2.6.29, it's own driver is >>>>>> totally different with our mainline staging version. Is there any plan >>>>>> to sync with it? >>>>> No, Google has abandoned any current effort to push code upstream for >>>>> the past year :( >>>>> >>>>> The android drivers are deleted in linux-next and will go away in 2.6.33 >>>>> because of this. >>>>> >>>> Thanks a lot for this update. It looks like we need to consider to drop Android >>>> modules in our Ubuntu kernel building somehow. >>> As no one is using them, it should be trivial to just change your kernel >>> config, right? >>> >> The reason we include them is that we wanna port the Android runtime environment >> to Ubuntu. Then the Android applications can run on Android compatible Ubuntu OS >> directly without any modification. >> >> The Android runtime environment needs some Android drivers such as Binder. > > Don't you also need the wakelocks and the hooks in the core of the > kernel to tie into the binder mess? > Yeah, that is complicated. -:( >> But now, it is hard for us to do that without a workable Android drivers in >> mainline. > > Then push on Google to get them cleaned up and fixed! Or do it > yourself, all I need is a developer to take ownership of the code. > I'm doing a task which is trying to merge Android patches to Ubuntu kernel and mainline, not only the Android drivers but also the ARM port code which is not in mainline. But since Android kernel is 2.6.29 and ours or mainline is 2.6.31+, you know it needs much more effort without Google's help. And for sure, I'm very happy to help this out. Cheers, -Bryan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/