diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2018-08-31 04:20:38 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2018-08-31 04:20:38 +0000 |
commit | 45abb4f8b0a09f3adcc56f170c361c9ef00aad5a (patch) | |
tree | dc04aab18258114f12cfbea2123f17eaed4a3158 /sys/arch/amd64 | |
parent | cfc0bae1f8504b88a3b9ffb06e4999df1709f1ae (diff) |
Move kcov device definitions into <sys/conf.h>.
OK anton@ deraadt@ kettenis@ mpi@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/conf.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c index f6cd4302184..a8c10783f11 100644 --- a/sys/arch/amd64/amd64/conf.c +++ b/sys/arch/amd64/amd64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.62 2018/08/19 18:01:04 deraadt Exp $ */ +/* $OpenBSD: conf.c,v 1.63 2018/08/31 04:20:37 visa Exp $ */ /* * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved. @@ -112,13 +112,6 @@ int nblkdev = nitems(bdevsw); (dev_type_stop((*))) enodev, 0, seltrue, \ (dev_type_mmap((*))) enodev } -/* open, close, ioctl, mmap */ -#define cdev_kcov_init(c,n) { \ - dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ - (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ - (dev_type_stop((*))) enodev, 0, selfalse, \ - (dev_init(c,n,mmap)), 0, D_CLONE } - #define mmread mmrw #define mmwrite mmrw cdev_decl(mm); @@ -170,7 +163,6 @@ cdev_decl(nvram); cdev_decl(drm); #include "viocon.h" cdev_decl(viocon); -cdev_decl(kcov); #include "wsdisplay.h" #include "wskbd.h" |