Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 933cadf in mainline for kernel/generic/include/macros.h


Ignore:
Timestamp:
2011-04-22T13:35:41Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
3dbe4ca2, afdcc60e, b678410
Parents:
74c8f344
Message:

use binary suffixes in printouts where appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/macros.h

    r74c8f344 r933cadf  
    9595        overlaps(KA2PA((x)), (szx), KA2PA((y)), (szy))
    9696
    97 #define SIZE2KB(size)  ((size) >> 10)
    98 #define SIZE2MB(size)  ((size) >> 20)
    99 
    100 #define KB2SIZE(kb)  ((kb) << 10)
    101 #define MB2SIZE(mb)  ((mb) << 20)
     97#define KiB2SIZE(kb)  ((kb) << 10)
     98#define MiB2SIZE(mb)  ((mb) << 20)
    10299
    103100#define STRING(arg)      STRING_ARG(arg)
Note: See TracChangeset for help on using the changeset viewer.