Fix kern.evdev.rcpt_mask on powerpc
In r360126, I meant to have a different mask only on powerpc, not powerpc64. Update the check to check that we're not compiling for powerpc64. Reported by: jhibbits Approved by: wulf (implicit) MFC after: 2 weeks X-MFC-Note: 12 only X-MFC-With: r360126 Differential Revision: D24370 (followup)
This commit is contained in:
parent
4aed563063
commit
e38977381f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360132
@ -67,7 +67,7 @@ enum evdev_sparse_result
|
||||
MALLOC_DEFINE(M_EVDEV, "evdev", "evdev memory");
|
||||
|
||||
/* adb keyboard driver used on powerpc does not support evdev yet */
|
||||
#ifdef __powerpc__
|
||||
#if defined(__powerpc__) && !defined(__powerpc64__)
|
||||
int evdev_rcpt_mask = EVDEV_RCPT_KBDMUX | EVDEV_RCPT_HW_MOUSE;
|
||||
#else
|
||||
int evdev_rcpt_mask = EVDEV_RCPT_HW_MOUSE | EVDEV_RCPT_HW_KBD;
|
||||
|
Loading…
Reference in New Issue
Block a user