projects
/
platform
/
upstream
/
multipath-tools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 0.6.3
[platform/upstream/multipath-tools.git]
/
kpartx
/
sysmacros.h
1
/* versions to be used with > 16-bit dev_t - leave unused for now */
2
3
#ifndef major
4
#define major(dev) ((dev) >> 8)
5
#endif
6
7
#ifndef minor
8
#define minor(dev) ((dev) & 0xff)
9
#endif