On Jun 16, 12:10 pm, mizmit1222 <[email protected]> wrote:
> 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

Thanks mizmit that fixed the lowmemorykiller error. I face a similar
issue with yaffs enabled, the error being -
yaffs_fs.c:237: error: unknown field 'prepare_write' specified in
initializer
yaffs_fs.c:238: error: unknown field 'commit_write' specified in
initializer

Do you know a fix for this too?

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to