|
|
| version 1.79, 2006/08/10 15:31:06 | version 1.80, 2007/10/02 06:15:48 |
|---|---|
| Line 22 | Line 22 |
| #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) | #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) |
| #define BLOCK_LSN(lsn) ((uint)(lsn)) | #define BLOCK_LSN(lsn) ((uint)(lsn)) |
| /* this is used in a spot where we might otherwise double-endian-flip */ | /* this is used in a spot where we might otherwise double-endian-flip */ |
| #define CYCLE_LSN_DISK(lsn) (((uint *)&(lsn))[0]) | #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0]) |
| #ifdef __KERNEL__ | #ifdef __KERNEL__ |
| /* | /* |