Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 3 → Rev 80

/shark/trunk/drivers/linuxcom/include/asm/bitops.h
2,7 → 2,10
#define __BITOPS__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
#define LOCK_PREFIX ""
#define SMPVOL
 
40,4 → 43,5
return ((1UL << (nr & 31)) & (((const unsigned int *) addr)[nr >> 5])) != 0;
}
 
__END_DECLS
#endif
/shark/trunk/drivers/linuxcom/include/asm/io.h
2,7 → 2,10
#define __IO__
 
#include <linux/compatib.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
/*
* Thanks to James van Artsdalen for a better timing-fix than
* the two short jumps: using outb's to a nonexistent port seems
71,5 → 74,5
#define writew(b,addr) (*(volatile unsigned short *) __io_virt(addr) = (b))
#define writel(b,addr) (*(volatile unsigned int *) __io_virt(addr) = (b))
 
 
__END_DECLS
#endif