Hi, I prepared a patch to make atomic_{set,clear}_bit inline at ftp://iwashi.grotto.jp/pub/netbsd/atomic.patch. Does it look ok? -- bsh.