summaryrefslogtreecommitdiffstats
path: root/sys/gnu/ext2fs/ia64-bitops.h
blob: c648b3fa36b5ff5c4d3e3baad6fe791469b8d50e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* $FreeBSD$ */

#ifndef _GNU_EXT2FS_BITOPS_H_
#define _GNU_EXT2FS_BITOPS_H_

#define	find_first_zero_bit(addr, size)		find_next_zero_bit(addr,size,0)
 
static __inline int
clear_bit(int no, void *addr)
{
	panic("ext2fs: clear_bit() unimplemented");
	return (0);
}

static __inline int
set_bit(int no, void *addr)
{
	panic("ext2fs: set_bit() unimplemented");
	return (0);
}

static __inline int
test_bit(int no, void *addr)
{
	panic("ext2fs: clear_bit() unimplemented");
	return (0);
}

static __inline size_t
find_next_zero_bit(void *addr, size_t size, size_t ofs)
{
	panic("ext2fs: find_next_zero_bit() unimplemented");
	return (0);
}

static __inline void *
memscan(void *addr, int c, size_t sz)
{
	panic("ext2fs: memscan() unimplemented");
	return (addr);
}

#endif /* _GNU_EXT2FS_BITOPS_H_ */
OpenPOWER on IntegriCloud