treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / vdso / vdso32 / vclock_gettime.c
blob026abb3b826cc7bd600268d8609df43d0ce4232d
1 /*
2 * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
3 */
5 #define BUILD_VDSO32
7 #ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
8 #undef CONFIG_OPTIMIZE_INLINING
9 #endif
11 #ifdef CONFIG_SPARC64
14 * in case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel
15 * configuration
17 #undef CONFIG_64BIT
18 #undef CONFIG_SPARC64
19 #define BUILD_VDSO32_64
20 #define CONFIG_32BIT
21 #undef CONFIG_QUEUED_RWLOCKS
22 #undef CONFIG_QUEUED_SPINLOCKS
24 #endif
26 #include "../vclock_gettime.c"