vclock_gettime.c 406 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
  3. */
  4. #define BUILD_VDSO32
  5. #ifdef CONFIG_SPARC64
  6. /*
  7. * in case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel
  8. * configuration
  9. */
  10. #undef CONFIG_64BIT
  11. #undef CONFIG_SPARC64
  12. #define BUILD_VDSO32_64
  13. #define CONFIG_32BIT
  14. #undef CONFIG_QUEUED_RWLOCKS
  15. #undef CONFIG_QUEUED_SPINLOCKS
  16. #endif
  17. #include "../vclock_gettime.c"