x86/tlb: Fix build warning and crash when building for !SMP
authorAlex Shi <alex.shi@intel.com>
Fri, 20 Jul 2012 01:18:23 +0000 (09:18 +0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jul 2012 22:01:48 +0000 (15:01 -0700)
commit7efa1c87963d23cc57ba40c07316d3e28cc75a3a
treea76c03fb96d4d804bcc4093b5e8785617564a054
parenteffee4b9b3b0aa5770bcd98de5f672b05b27703c
x86/tlb: Fix build warning and crash when building for !SMP

The incompatible parameter of flush_tlb_mm_range cause build warning.
Fix it by correct parameter.

Ingo Molnar found that this could also cause a user space crash.

Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Alex Shi <alex.shi@intel.com>
Link: http://lkml.kernel.org/r/1342747103-19765-1-git-send-email-alex.shi@intel.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/tlbflush.h