Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/playstation2/ee Actually adapt to ktrace-lwp by con...



details:   https://anonhg.NetBSD.org/src/rev/5efccd5f9f9e
branches:  trunk
changeset: 586384:5efccd5f9f9e
user:      he <he%NetBSD.org@localhost>
date:      Sat Dec 17 10:26:59 2005 +0000

description:
Actually adapt to ktrace-lwp by converting the last arg to the ioctl()
function from a "struct proc *" to a "struct lwp *".  Makes this build
again.

diffstat:

 sys/arch/playstation2/ee/gsfb.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cc74084ca5d2 -r 5efccd5f9f9e sys/arch/playstation2/ee/gsfb.c
--- a/sys/arch/playstation2/ee/gsfb.c   Sat Dec 17 05:44:11 2005 +0000
+++ b/sys/arch/playstation2/ee/gsfb.c   Sat Dec 17 10:26:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gsfb.c,v 1.11 2005/12/11 12:18:36 christos Exp $       */
+/*     $NetBSD: gsfb.c,v 1.12 2005/12/17 10:26:59 he Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gsfb.c,v 1.11 2005/12/11 12:18:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gsfb.c,v 1.12 2005/12/17 10:26:59 he Exp $");
 
 #include "debug_playstation2.h"
 
@@ -208,7 +208,7 @@
 STATIC int _gsfb_allocattr(void *, int, int, int, long *);
 
 /* access ops */
-STATIC int _gsfb_ioctl(void *, u_long, caddr_t, int, struct proc *);
+STATIC int _gsfb_ioctl(void *, u_long, caddr_t, int, struct lwp *);
 STATIC paddr_t _gsfb_mmap(void *, off_t, int);
 STATIC int _gsfb_alloc_screen(void *, const struct wsscreen_descr *, void **,
     int *, int *, long *);
@@ -527,7 +527,7 @@
 }
 
 int
-_gsfb_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
+_gsfb_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct lwp *l)
 {
 
        return (EPASSTHROUGH); /* Inappropriate ioctl for device */



Home | Main Index | Thread Index | Old Index