|
From: Peter K. <pk...@us...> - 2001-09-21 12:51:07
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- btcommon.h 1.84 1.85=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Replaces CHAR2INTx() macros with get_unaligned() and leXX_to_cpu(). The diff of the modified file(s): --- btcommon.h 2001/09/18 12:14:35 1.84 +++ btcommon.h 2001/09/21 12:51:06 1.85 @@ -92,13 +92,6 @@ (((x) & ((1UL << (bits)) - 1)) << (bit)); \ } while (0) =20 -#define CHAR2INT10(c1,c0) (((u32)((c1) & 0x03) << 8) + (u32)((c0) & 0xff)) -#define CHAR2INT12(c1,c0) (((u32)((c1) & 0x0f) << 8) + (u32)((c0) & 0xff)) -#define CHAR2INT16(c1,c0) (((u32)((c1) & 0xff) << 8) + (u32)((c0) & 0xff)) -#define CHAR2INT32(c3,c2,c1,c0) (((u32)((c3) & 0xff) << 24) + \ - ((u32)((c2) & 0xff) << 16) + \ - ((u32)((c1) & 0xff) << 8) + (u32)((c0) &0xff)) - /* extract line number from tty */ #define GET_TTYLINE(tty) (MINOR(tty->device) - tty->driver.minor_start) =20 |