Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/ttm Make sure mem.bus.is_iome...



details:   https://anonhg.NetBSD.org/src/rev/cab2bf4ad737
branches:  trunk
changeset: 337588:cab2bf4ad737
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Apr 20 20:15:22 2015 +0000

description:
Make sure mem.bus.is_iomem is initialized.  PR 49833

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 348997738a45 -r cab2bf4ad737 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c       Mon Apr 20 19:36:55 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c       Mon Apr 20 20:15:22 2015 +0000
@@ -1021,6 +1021,7 @@
        mem.num_pages = bo->num_pages;
        mem.size = mem.num_pages << PAGE_SHIFT;
        mem.page_alignment = bo->mem.page_alignment;
+       mem.bus.is_iomem = false;
        mem.bus.io_reserved_vm = false;
        mem.bus.io_reserved_count = 0;
        /*



Home | Main Index | Thread Index | Old Index