![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 #ifndef _UAPI_LINUX_KDEV_T_H 0003 #define _UAPI_LINUX_KDEV_T_H 0004 #ifndef __KERNEL__ 0005 0006 /* 0007 Some programs want their definitions of MAJOR and MINOR and MKDEV 0008 from the kernel sources. These must be the externally visible ones. 0009 */ 0010 #define MAJOR(dev) ((dev)>>8) 0011 #define MINOR(dev) ((dev) & 0xff) 0012 #define MKDEV(ma,mi) ((ma)<<8 | (mi)) 0013 #endif /* __KERNEL__ */ 0014 #endif /* _UAPI_LINUX_KDEV_T_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |