[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aufs3: remove include of linux/fs.h from linux/mm.h



Ian Campbell:
> > #ifndef CONFIG_MMU was less important since the built kernel doesn't
> > contain the functions defined in the header as long as they are unused.
> > But by moving them into a source file, the built kernel will contain
> > them. So ifndef CONFIG_MMU is necessary this time.
>
> Yes, good point.

Re-reading several makefiles,
- fs/proc/Makefile builds nommu.o and task_nommu.o unconditionally.
- mm/Makeilfe builds nommu.o unconditionally.

So I change my mind and stop adding ifndef CONFIG_MMU.


J. R. Okajima


Reply to: