From e292bc894715ea5b0348cd6448225dd1e5dee6c0 Mon Sep 17 00:00:00 2001 From: John Baldwin <jhb@FreeBSD.org> Date: Tue, 13 Jan 2015 19:23:17 +0000 Subject: [PATCH] Use 'struct thread' instead of 'd_thread_t' in example PCI driver. --- en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml | 4 ++-- zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml b/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml index 592096c867..a35983eff2 100644 --- a/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml +++ b/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml @@ -75,7 +75,7 @@ static struct cdevsw mypci_cdevsw = { */ int -mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) +mypci_open(struct cdev *dev, int oflags, int devtype, struct thread *td) { struct mypci_softc *sc; @@ -86,7 +86,7 @@ mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) } int -mypci_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) +mypci_close(struct cdev *dev, int fflag, int devtype, struct thread *td) { struct mypci_softc *sc; diff --git a/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml b/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml index 5b48abc4d1..264c2c6b59 100644 --- a/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml +++ b/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml @@ -80,7 +80,7 @@ static struct cdevsw mypci_cdevsw = { */ int -mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) +mypci_open(struct cdev *dev, int oflags, int devtype, struct thread *td) { struct mypci_softc *sc; @@ -91,7 +91,7 @@ mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) } int -mypci_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) +mypci_close(struct cdev *dev, int fflag, int devtype, struct thread *td) { struct mypci_softc *sc;