Re: [PATCH 2/4] mm: split up mm_struct to separate header file

From: Guenter Roeck
Date: Wed Jan 28 2015 - 21:02:15 EST


On 01/28/2015 04:30 PM, Kirill A. Shutemov wrote:
On Wed, Jan 28, 2015 at 03:17:42PM +0200, Kirill A. Shutemov wrote:
We want to use __PAGETABLE_PMD_FOLDED in mm_struct to drop nr_pmds if
pmd is folded. __PAGETABLE_PMD_FOLDED is defined in <asm/pgtable.h>, but
<asm/pgtable.h> itself wants <linux/mm_types.h> for struct page
definition.

This patch move mm_struct definition into separate header file in order
to fix circular header dependencies.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

Guenter, below is update for the patch. It doesn't fix all the issues, but
you should see an improvement. I'll continue with this tomorrow.

I'll give it a try.

BTW, any idea where I can get hexagon cross compiler?


http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/

It is 32 bit, so you'll have to install some 32 bit libraries.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/