Hi,

-       rem = global_page_state(NR_ACTIVE) + global_page_state
(NR_INACTIVE);
+       rem = global_lru_pages();

Regarding configuration, check Documentations/Android.txt. And make
sure
*not* PMEM turned on.

Good luck,

On 6月16ζ—₯, 午後1:44, Neo <[email protected]> wrote:
> I am porting Android with 2.6.28 kernel to a platform and get the
> above error when I enable low memory killer in the config. The build
> also fails if I enable yaffs.
> Is there a list anywhere of how many of those configs given in
> goldfish_defconfig are a must and how many of those are recommended
> for android to work on different hardware?
>
> Thanks,
> Neo
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to