]> Git Repo - linux.git/commit - mm/sparse-vmemmap.c
mm/sparse-vmemmap.c: make sure init_mm is included
authorGlauber de Oliveira Costa <[email protected]>
Mon, 29 Oct 2007 21:37:19 +0000 (14:37 -0700)
committerLinus Torvalds <[email protected]>
Tue, 30 Oct 2007 15:06:55 +0000 (08:06 -0700)
commit8bca44bbd39007065cc6a4e3a50201475629a6cf
treece2735c05a2ae18965505014db3a4103d75cb2dc
parent4138f08d1c2783a28df2af6ed81aa180462ec374
mm/sparse-vmemmap.c: make sure init_mm is included

mm/sparse-vmemmap.c uses init_mm in some places.  However, it is not
present in any of the headers currently included in the file.

init_mm is defined as extern in sched.h, so we add it to the headers list

Up to now, this problem was masked by the fact that functions like
set_pte_at() and pmd_populate_kernel() are usually macros that expand to
simpler variants that does not use the first parameter at all.

Signed-off-by: Glauber de Oliveira Costa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/sparse-vmemmap.c
This page took 0.04743 seconds and 4 git commands to generate.