162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
362306a36Sopenharmony_ci */
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#define	BUILD_VDSO32
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifdef	CONFIG_SPARC64
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/*
1062306a36Sopenharmony_ci * in case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel
1162306a36Sopenharmony_ci * configuration
1262306a36Sopenharmony_ci */
1362306a36Sopenharmony_ci#undef	CONFIG_64BIT
1462306a36Sopenharmony_ci#undef	CONFIG_SPARC64
1562306a36Sopenharmony_ci#define	BUILD_VDSO32_64
1662306a36Sopenharmony_ci#define	CONFIG_32BIT
1762306a36Sopenharmony_ci#undef	CONFIG_QUEUED_RWLOCKS
1862306a36Sopenharmony_ci#undef	CONFIG_QUEUED_SPINLOCKS
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci#endif
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#include "../vclock_gettime.c"
23