From 30d2301bee983c6d2ad9187c47dbea24affa73e6 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Mon, 6 Apr 2009 05:21:25 +0000 Subject: Don't forget to TAILQ_INIT() the heap... --- sys/dev/pci/drm/sis_drv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/pci/drm') diff --git a/sys/dev/pci/drm/sis_drv.c b/sys/dev/pci/drm/sis_drv.c index 1b260540b7e..897e3ca1c99 100644 --- a/sys/dev/pci/drm/sis_drv.c +++ b/sys/dev/pci/drm/sis_drv.c @@ -108,6 +108,9 @@ sisdrm_attach(struct device *parent, struct device *self, void *aux) NULL, NULL); printf("\n"); + TAILQ_INIT(&dev_priv->agp_heap); + TAILQ_INIT(&dev_priv->fb_heap); + dev_priv->drmdev = drm_attach_pci(&sis_driver, pa, is_agp, self); } -- cgit v1.2.3