[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-18 Thread 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

[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-16 Thread Neo
On Jun 16, 12:10 pm, mizmit1222 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, > I saw the

[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-16 Thread Neo
On Jun 16, 12:10 pm, mizmit1222 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日

[android-porting] Re: Error in lowmemorykiller.c "NR_ACTIVE' undeclared (first use in this function)"

2009-06-16 Thread mizmit1222
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 wrote: > I am porting Android with 2.6.28 kernel