FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
linux/include/asm-generic/bitsperlong.h at master · fabgithub/linux · GitHub
fabgithub
linux
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
linux
/
include
/
asm-generic
/
bitsperlong.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (19 loc) · 553 Bytes
Breadcrumbs
linux
/
include
/
asm-generic
/
bitsperlong.h
Copy path
File metadata and controls
25 lines (19 loc) · 553 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef
__ASM_GENERIC_BITS_PER_LONG
#define
__ASM_GENERIC_BITS_PER_LONG
#include
<uapi/asm-generic/bitsperlong.h>
#ifdef
CONFIG_64BIT
#define
BITS_PER_LONG
64
#else
#define
BITS_PER_LONG
32
#endif
/* CONFIG_64BIT */
/*
* FIXME: The check currently breaks x86-64 build, so it's
* temporarily disabled. Please fix x86-64 and reenable
*/
#if
0
&&
BITS_PER_LONG
!=
__BITS_PER_LONG
#error
Inconsistent word size. Check asm/bitsperlong.h
#endif
#ifndef
BITS_PER_LONG_LONG
#define
BITS_PER_LONG_LONG
64
#endif
#endif
/* __ASM_GENERIC_BITS_PER_LONG */
Back
|
FazBrowse Home
|
New Git URL