[PATCH 10/17] x86: make __VIRTUAL_MASK safe to use on 32 bit

2015-03-27 Thread Dave Hansen
From: Dave Hansen We are going to do some calculations in a moment that are based on the size of the virtual address space. __VIRTUAL_MASK is currently unsafe to use on 32-bit since it overflows an unsigned long with its shift. The current version will emit a warning if used at all on 32-bit k

[PATCH 10/17] x86: make __VIRTUAL_MASK safe to use on 32 bit

2015-03-26 Thread Dave Hansen
From: Dave Hansen We are going to do some calculations in a moment that are based on the size of the virtual address space. __VIRTUAL_MASK is currently unsafe to use on 32-bit since it overflows an unsigned long with its shift. The current version will emit a warning if used at all on 32-bit k