diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2019-11-19 11:25:24 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-12-11 14:14:07 +0100 |
commit | 63b9b80e9f5b2c463d98d6e550e0d0e3ace66033 (patch) | |
tree | cc7783bec788c6b87dc68d93654df3ab96f18ace /Documentation/devicetree/bindings/usb/am33xx-usb.txt | |
parent | virtio_balloon: name cleanups (diff) | |
download | linux-63b9b80e9f5b2c463d98d6e550e0d0e3ace66033.tar.xz linux-63b9b80e9f5b2c463d98d6e550e0d0e3ace66033.zip |
virtio_balloon: divide/multiply instead of shifts
We managed to get confused about the shift direction at least once.
Let's switch to division/multiplcation instead. Add a number of pages
macro for this purpose. We still keep the order macro around too since
this is what alloc/free pages want.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/am33xx-usb.txt')
0 files changed, 0 insertions, 0 deletions