From: Geert Uytterhoeven Date: Thu, 7 Feb 2008 08:10:37 +0000 (+0100) Subject: m68k: kill page walker compile warning X-Git-Tag: v2.6.25-rc1~300 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b808a593588b2e6235c59fcd278791c53667787;p=pandora-kernel.git m68k: kill page walker compile warning The recently introduced page walker (walk_page_range()) calls pgd_offset with a const struct mm_struct pointer, causing the following compile warning on m68k: mm/pagewalk.c:111: warning: passing argument 1 of 'pgd_offset' discards qualifiers from pointer target type Make the `mm' parameter of the inline function pgd_offset() const to shut it up. Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed