_DEV_ZERO_oARM is now only defined under COMPAT_16; make this build

after that change.
This commit is contained in:
he 2008-12-15 09:43:27 +00:00
parent b441ddb4e0
commit 9a3d86109e
1 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mem.c,v 1.11 2008/11/15 11:06:49 ad Exp $ */
/* $NetBSD: mem.c,v 1.12 2008/12/15 09:43:27 he Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -73,7 +73,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.11 2008/11/15 11:06:49 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.12 2008/12/15 09:43:27 he Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
#endif
#include <sys/param.h>
#include <sys/conf.h>
@ -162,7 +166,9 @@ mmrw(dev, uio, flags)
uio->uio_resid = 0;
return (0);
#ifdef COMPAT_16
case _DEV_ZERO_oARM:
#endif
case DEV_ZERO:
if (uio->uio_rw == UIO_WRITE) {
uio->uio_resid = 0;