[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Build problems: references to init_mm in pgtable*.h
On 12/5/05, Stephen Tweedie <sct@xxxxxxxxxx> wrote: > My normal xen .config will not build on recent linux-2.6-merge.hg trees. > The problem is the > include/asm-i386/mach-xen/asm/pgtable-2level.h > and > include/asm-i386/mach-xen/asm/pgtable-3level.h > files, which reference "init_mm" without ever pulling in a definition of > those files. > > Whether you see the problem or not depends on the .config; most files > which include the pgtable*.h includes already pull in sched.h (which is > where init_mm is declared), but not all do so. Trivial patch attached, > but it's not necessarily the best solution as we don't want sched.h > changes polluting mm .o's unnecessarily. I've changed the set_pte_at and set_pte_at_sync inline functions to be macros. This way, init_mm only needs to be defined where these macros are used. Does this fix all the errors you're seeing? christian _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |