Merge from FreeBSD r1.11: We have memset in the kernel, no need to define

it to bzero (which it was always used for).
This commit is contained in:
Eric Anholt 2003-08-12 21:18:05 +00:00
parent 447d8c56bb
commit 02675a470e
2 changed files with 2 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/*
* $FreeBSD: src/sys/dev/drm/drm_os_freebsd.h,v 1.9 2003/04/25 01:18:46 anholt Exp $
* $FreeBSD: src/sys/dev/drm/drm_os_freebsd.h,v 1.11 2003/05/31 19:31:46 phk Exp $
*/
#include <sys/param.h>
#include <sys/queue.h>
@ -332,8 +332,6 @@ find_first_zero_bit(volatile void *p, int max)
#define spldrm() spltty()
#define memset(p, v, s) bzero(p, s)
/*
* Fake out the module macros for versions of FreeBSD where they don't
* exist.

View file

@ -1,5 +1,5 @@
/*
* $FreeBSD: src/sys/dev/drm/drm_os_freebsd.h,v 1.9 2003/04/25 01:18:46 anholt Exp $
* $FreeBSD: src/sys/dev/drm/drm_os_freebsd.h,v 1.11 2003/05/31 19:31:46 phk Exp $
*/
#include <sys/param.h>
#include <sys/queue.h>
@ -332,8 +332,6 @@ find_first_zero_bit(volatile void *p, int max)
#define spldrm() spltty()
#define memset(p, v, s) bzero(p, s)
/*
* Fake out the module macros for versions of FreeBSD where they don't
* exist.