diff options
| author | Thomas Huth <thuth@redhat.com> | 2022-08-10 14:57:19 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2022-08-26 13:34:10 +0200 |
| commit | 90de559a669b99919e2a95ee85cb6b9b2e7256cb (patch) | |
| tree | 447f6bf4c61742f161aa5f58715ebc8fc87721b9 /hw/usb/dev-storage.c | |
| parent | 8be934b70e923104da883b990dee18f02552d40e (diff) | |
| download | focaccia-qemu-90de559a669b99919e2a95ee85cb6b9b2e7256cb.tar.gz focaccia-qemu-90de559a669b99919e2a95ee85cb6b9b2e7256cb.zip | |
softmmu/physmem: Remove the ifdef __linux__ around the pagesize functions
Now that host_memory_backend_pagesize() is not depending on the hugetlb memory path handling anymore, we can also remove the #ifdef and the TOCTTOU comment from the calling functions - the code should now work equally well on all host architectures. Message-Id: <20220810125720.3849835-3-thuth@redhat.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Acked-by: David Hildenbrand <david@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions