diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-10-07 14:04:33 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 14:20:44 +0100 |
commit | 3990dd27034606312429a09c807ea74a6ec32dde (patch) | |
tree | b12dd869e7bac3789f60e51bf624454c47edfa6e /drivers/misc/sgi-xp | |
parent | 9435cce87950d805e6c8315410f2cb8ff6b2c6a2 (diff) |
xen/balloon: Use the correct sizeof when declaring frame_list
The type of the item in frame_list is xen_pfn_t which is not an unsigned
long on ARM but an uint64_t.
With the current computation, the size of frame_list will be 2 *
PAGE_SIZE rather than PAGE_SIZE.
I bet it's just mistake when the type has been switched from "unsigned
long" to "xen_pfn_t" in commit 965c0aaafe3e75d4e65cd4ec862915869bde3abd
"xen: balloon: use correct type for frame_list".
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/misc/sgi-xp')
0 files changed, 0 insertions, 0 deletions