Add a temporary uapi/linux/compiler.h until upstream has one.
Bug: 11559337 Change-Id: I205974b1a26e4f85d0e11503afa80669195d211c
This commit is contained in:
parent
ff5b0fc8f3
commit
740531354e
18
libc/kernel/uapi/linux/compiler.h
Normal file
18
libc/kernel/uapi/linux/compiler.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef _UAPI_LINUX_COMPILER_H
|
||||||
|
#define _UAPI_LINUX_COMPILER_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define __user
|
||||||
|
#define __force
|
||||||
|
|
||||||
|
#endif /* _UAPI_LINUX_COMPILER_H */
|
Loading…
x
Reference in New Issue
Block a user