diff options
| author | Hugh Dickins <[email protected]> | 2006-10-28 10:38:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-28 11:30:53 -0700 |
| commit | b9d7e6ae82da124dc9c579fe1061264ef2a69407 (patch) | |
| tree | 868894a168bd7873232cada240acf88a252014cb /include/linux/debugobjects.h | |
| parent | 7b92aadfdae85ef837db343be38d4172115be72b (diff) | |
[PATCH] hugetlb: fix size=4G parsing
On 32-bit machines, mount -t hugetlbfs -o size=4G gave a 0GB filesystem,
size=5G gave a 1GB filesystem etc: there's no point in masking size with
HPAGE_MASK just before shifting its lower bits away, and since HPAGE_MASK is a
UL, that removed all the higher bits of the unsigned long long size.
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Adam Litke <[email protected]>
Cc: David Gibson <[email protected]>
Cc: "Chen, Kenneth W" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions