Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
#ifndef _PPC_STRING_H_
#define _PPC_STRING_H_



/*
 * keep things happy, the compile became unhappy since memset is
 * in include/linux/string.h and lib/string.c with different prototypes
 *                          -- Cort
 */
#if 1
#define  __HAVE_ARCH_MEMSET
extern __inline__ void * memset(void * s,int c,__kernel_size_t count)
{
	char *xs = (char *) s;

	while (count--)
		*xs++ = c;

	return s;
}
#endif
#define bzero(addr,size) memset((addr),(int)(0),(size))


#endif