x86/tlb: Clean up and unify TLB_FLUSH_ALL definition
authorAlex Shi <alex.shi@intel.com>
Thu, 10 May 2012 10:01:59 +0000 (18:01 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 May 2012 08:13:37 +0000 (10:13 +0200)
commit3e7f3db001de6133db1c385c92eec944409a8b4f
tree593f4c0666dbe07e96e4e75e1eb6566d89d3fe3c
parent302616911da8e868d3f1a00dce517ca30b0e065d
x86/tlb: Clean up and unify TLB_FLUSH_ALL definition

Since sizeof(long) is 4 in x86_32 mode, and it's 8 in x86_64
mode, sizeof(long long) is also 8 byte in x86_64 mode.
use long mode can fit TLB_FLUSH_ALL defination here both in 32
or 64 bits mode.

Signed-off-by: Alex Shi <alex.shi@intel.com>
Link: http://lkml.kernel.org/n/tip-evv5bekiipi2pmyzdsy8lkkw@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/tlbflush.h