X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fkernel.h;h=aaa998f65c7af93e8a0e715e5bef0ca5ef067ece;hb=d9c566198bfdf72a041322a093fdc1a2dc231170;hp=fdbbf72ca2ebfbe096171a7b96dbaf539f7fbcbe;hpb=4b1fefaca9f5fdd43b24aa248777a75a81dfa8d6;p=linux-2.6 diff --git a/include/linux/kernel.h b/include/linux/kernel.h index fdbbf72ca2..aaa998f65c 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -75,6 +75,12 @@ extern const char linux_proc_banner[]; */ #define upper_32_bits(n) ((u32)(((n) >> 16) >> 16)) +/** + * lower_32_bits - return bits 0-31 of a number + * @n: the number we're accessing + */ +#define lower_32_bits(n) ((u32)(n)) + #define KERN_EMERG "<0>" /* system is unusable */ #define KERN_ALERT "<1>" /* action must be taken immediately */ #define KERN_CRIT "<2>" /* critical conditions */