Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define is_aligned() only for the kernel
is_aligned() is an already used symbol by OpenJDK 8. Also, define is_aligned() as __is_aligned() that sys/cdefs.h defines for userspace. [1] https://github.com/openjdk/jdk/blob/jdk8-b05/hotspot/src/share/vm/memory/barrierSet.hpp#L182
- Loading branch information