1234567891011121314151617181920212223242526272829303132 |
- #include <features.h>
- /* Pull in compiler and arch stuff */
- #include <stdlib.h>
- #include <stdarg.h>
- /* Pull in the arch specific type information */
- #include <sys/types.h>
- /* Now the ldso specific headers */
- #include <ld_elf.h>
- #include <ld_syscall.h>
- #include <ld_hash.h>
- #include <ld_string.h>
- /* Pull in the arch specific page size */
- #include <asm/page.h>
- #ifndef PAGE_SIZE
- # define PAGE_SHIFT 12
- # define PAGE_SIZE (1UL << PAGE_SHIFT)
- #endif
- /* Prepare for the case that `__builtin_expect' is not available. */
- #if __GNUC__ == 2 && __GNUC_MINOR__ < 96
- #define __builtin_expect(x, expected_value) (x)
- #endif
- #ifndef likely
- # define likely(x) __builtin_expect((!!(x)),1)
- #endif
- #ifndef unlikely
- # define unlikely(x) __builtin_expect((!!(x)),0)
- #endif
- #ifndef __LINUX_COMPILER_H
- #define __LINUX_COMPILER_H
- #endif
|