diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-04-27 23:07:49 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-25 22:50:04 (GMT) |
commit | 2fc016c5bd8aad2e201cdf71b9fb4573f94775bd (patch) | |
tree | 14da7d26a56b2f372e7d4a28422982efbabe9a7c /drivers/pci/slot.c | |
parent | f07d91ede6f346cbe31bb814cefe2584940b96f3 (diff) | |
download | linux-fsl-qoriq-2fc016c5bd8aad2e201cdf71b9fb4573f94775bd.tar.xz |
linux/const.h: Add _BITUL() and _BITULL()
Add macros for single bit definitions of a specific type. These are
similar to the BIT() macro that already exists, but with a few
exceptions:
1. The namespace is such that they can be used in uapi definitions.
2. The type is set with the _AC() macro to allow it to be used in
assembly.
3. The type is explicitly specified to be UL or ULL.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-nbca8p7cg6jyjoit7klh3o91@git.kernel.org
Diffstat (limited to 'drivers/pci/slot.c')
0 files changed, 0 insertions, 0 deletions