18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
38c2ecf20Sopenharmony_ci */
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#define	BUILD_VDSO32
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifdef	CONFIG_SPARC64
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/*
108c2ecf20Sopenharmony_ci * in case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel
118c2ecf20Sopenharmony_ci * configuration
128c2ecf20Sopenharmony_ci */
138c2ecf20Sopenharmony_ci#undef	CONFIG_64BIT
148c2ecf20Sopenharmony_ci#undef	CONFIG_SPARC64
158c2ecf20Sopenharmony_ci#define	BUILD_VDSO32_64
168c2ecf20Sopenharmony_ci#define	CONFIG_32BIT
178c2ecf20Sopenharmony_ci#undef	CONFIG_QUEUED_RWLOCKS
188c2ecf20Sopenharmony_ci#undef	CONFIG_QUEUED_SPINLOCKS
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#include "../vclock_gettime.c"
23