diff options
author | 2014-01-09 13:42:57 +0000 | |
---|---|---|
committer | 2014-01-09 13:42:57 +0000 | |
commit | 1accb1b8996582616f7ac13294800bb5133c465c (patch) | |
tree | 59af69ae8329bb558083d1612c8b46602f35850a | |
parent | -C was useless with signify, report @signer identity instead (prepend (diff) | |
download | wireguard-openbsd-1accb1b8996582616f7ac13294800bb5133c465c.tar.xz wireguard-openbsd-1accb1b8996582616f7ac13294800bb5133c465c.zip |
Fix the burner method, here the cookie is a pointer to rasops_info.
Problem noticed by Nick Gray and brett@ and analysed with mikeb@.
ok jsg@
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_fb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_fb.c b/sys/dev/pci/drm/radeon/radeon_fb.c index 659693dd9d9..a451b71aba5 100644 --- a/sys/dev/pci/drm/radeon/radeon_fb.c +++ b/sys/dev/pci/drm/radeon/radeon_fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeon_fb.c,v 1.3 2013/12/05 13:29:56 kettenis Exp $ */ +/* $OpenBSD: radeon_fb.c,v 1.4 2014/01/09 13:42:57 mpi Exp $ */ /* * Copyright © 2007 David Airlie * @@ -494,7 +494,8 @@ bool radeon_fbdev_robj_is_fb(struct radeon_device *rdev, struct radeon_bo *robj) void radeondrm_burner(void *v, u_int on, u_int flags) { - struct radeon_device *rdev = v; + struct rasops_info *ri = v; + struct radeon_device *rdev = ri->ri_hw; task_del(systq, &rdev->burner_task); |