]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55d79d4c8d49b1b37aa7db209a22dcddcc983332
tree593f4c0666dbe07e96e4e75e1eb6566d89d3fe3c
parente2e236797d5e7b1f7e8046242268d488db7740f8
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