[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: devfs



I have used devfs with Linux 2.5 on CRIS. It seams like 
__set_bit is missing for CRIS in 2.4. In 2.5 it is defined
as (in include/asm/bitops.h)

#define __set_bit(nr, addr) (void)test_and_set_bit(nr, addr)

/Mikael

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
Behalf Of Uwe Reimann
Sent: Wednesday, May 07, 2003 2:32 PM
To: dev-etrax
Subject: devfs


Hi,

did anybody manage to compile a kernel with devfs support? I get the 
following errors during final linkage:

fs/fs.o: In function `devfs_alloc_major':
fs/fs.o(.text+0x217b8): undefined reference to `__set_bit'
fs/fs.o: In function `devfs_alloc_devnum':
fs/fs.o(.text+0x218e4): undefined reference to `__set_bit'
fs/fs.o(.text+0x219a6): undefined reference to `__set_bit'
fs/fs.o: In function `devfs_alloc_unique_number':
fs/fs.o(.text+0x21c16): undefined reference to `__set_bit'
make[1]: *** [vmlinux] Error 1

Any ideas?

Best regards, Uwe