Skip to content
Commit 3e7f3db0 authored by Alex Shi's avatar Alex Shi Committed by Ingo Molnar
Browse files

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: default avatarAlex Shi <alex.shi@intel.com>
Link: http://lkml.kernel.org/n/tip-evv5bekiipi2pmyzdsy8lkkw@git.kernel.org


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 30261691
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment