forked from aosp-mirror/platform_bionic
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "uapi headers: simplify the <linux/compiler.h> stuff."
- Loading branch information
Showing
78 changed files
with
425 additions
and
428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,11 @@ | ||
#ifndef _UAPI_LINUX_COMPILER_H | ||
#define _UAPI_LINUX_COMPILER_H | ||
#pragma once | ||
|
||
/* | ||
* This file is not currently in the Linux kernel tree. | ||
* Upstream uapi headers refer to <linux/compiler.h> but there is | ||
* no such uapi file. We've sent this upstream, and are optimistically | ||
* adding it to bionic in the meantime. This should be replaced by | ||
* a scrubbed header from external/kernel-headers when possible. | ||
* There is no `include/uapi/linux/compiler.h`, just `include/linux/compiler.h`. | ||
* | ||
* An alternative to this file is to check in a symbolic link to the | ||
* non-uapi <linux/compiler.h>. That's fine for building bionic too. | ||
* We don't need anything _in_ this file, but we do need this file. | ||
* The two #defines are for backwards compatibility. | ||
*/ | ||
|
||
#define __user | ||
#define __force | ||
|
||
#endif /* _UAPI_LINUX_COMPILER_H */ | ||
#define __user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
#pragma once | ||
|
||
/* | ||
* The compiler.h file has been split into compiler.h and compiler_types.h. | ||
* However, to compile bionic we only need the compiler.h. | ||
* There is no `include/uapi/linux/compiler_types.h`, just | ||
* `include/linux/compiler_types.h`. | ||
* | ||
* We don't need anything _in_ this file, but we do need this file. | ||
* The #include is for backwards compatibility. | ||
*/ | ||
|
||
#include <linux/compiler.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.