History

Input: input_event - fix the CONFIG_SPARC64 mixup

Arnd Bergmann pointed out that CONFIG_* cannot be used in a uapi header. Override with an equivalent conditional.

Deepa Dinamani committed 7 years ago

Commit 141e5dc1 parent ec87da11 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/input.h+1−1
@@ -32,7 +32,7 @@ struct input_event { · 31 unmodified lines
3232 #define input_event_usec time.tv_usec
3333 #else
3434 __kernel_ulong_t __sec;
35−#ifdef CONFIG_SPARC64
35+#if defined(__sparc__) && defined(__arch64__)
3636 unsigned int __usec;
3737 #else
3838 __kernel_ulong_t __usec;