mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
cbdb1f163a
The minimization done in 3945ff37d2
("linux/bits.h: Extract common header
for vDSO") was required to isolate the VDSO build from the larger kernel
header impact.
The split added some inconsistency since BIT() and BIT_ULL() are now
defined in the different files which confuses unprepared reader.
Move BIT_ULL() to vdso/bits.h. No functional change.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20221128141003.77929-1-andriy.shevchenko@linux.intel.com
11 lines
209 B
C
11 lines
209 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __VDSO_BITS_H
|
|
#define __VDSO_BITS_H
|
|
|
|
#include <vdso/const.h>
|
|
|
|
#define BIT(nr) (UL(1) << (nr))
|
|
#define BIT_ULL(nr) (ULL(1) << (nr))
|
|
|
|
#endif /* __VDSO_BITS_H */
|