History

Merge branch 'perf/urgent' into perf/core

Conflicts: kernel/events/hw_breakpoint.c

Ingo Molnar committed 8 years ago

Commit 2d074912 parents 78282be f67b150384 files · +3861 −2105Browse files

Showing the changes to include/uapi/linux (3 of 384 files). Show all

Unified · Split

3 files
  1. include/uapi/linux/if_ether.h +1 −0
  2. include/uapi/linux/lirc.h +0 −1
  3. include/uapi/linux/usb/audio.h +2 −2
include/uapi/linux/if_ether.h+1−0
@@ -30,6 +30,7 @@ · 29 unmodified lines
3030 */
3131
3232 #define ETH_ALEN 6 /* Octets in one ethernet addr */
33+#define ETH_TLEN 2 /* Octets in ethernet type field */
3334 #define ETH_HLEN 14 /* Total octets in header. */
3435 #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */
3536 #define ETH_DATA_LEN 1500 /* Max. octets in payload */
include/uapi/linux/lirc.h+0−1
@@ -54,7 +54,6 @@ · 53 unmodified lines
5454 #define LIRC_CAN_SEND_RAW LIRC_MODE2SEND(LIRC_MODE_RAW)
5555 #define LIRC_CAN_SEND_PULSE LIRC_MODE2SEND(LIRC_MODE_PULSE)
5656 #define LIRC_CAN_SEND_MODE2 LIRC_MODE2SEND(LIRC_MODE_MODE2)
57−#define LIRC_CAN_SEND_SCANCODE LIRC_MODE2SEND(LIRC_MODE_SCANCODE)
5857 #define LIRC_CAN_SEND_LIRCCODE LIRC_MODE2SEND(LIRC_MODE_LIRCCODE)
5958
6059 #define LIRC_CAN_SEND_MASK 0x0000003f
include/uapi/linux/usb/audio.h+2−2
@@ -370,7 +370,7 @@ static inline __u8 uac_processing_unit_bControlSize(struct uac_processing_unit_d · 369 unmodified lines
370370 {
371371 return (protocol == UAC_VERSION_1) ?
372372 desc->baSourceID[desc->bNrInPins + 4] :
373− desc->baSourceID[desc->bNrInPins + 6];
373+ 2; /* in UAC2, this value is constant */
374374 }
375375
376376 static inline __u8 *uac_processing_unit_bmControls(struct uac_processing_unit_descriptor *desc,
@@ -378,7 +378,7 @@ static inline __u8 *uac_processing_unit_bmControls(struct uac_processing_unit_de · 1 unmodified line
378378 {
379379 return (protocol == UAC_VERSION_1) ?
380380 &desc->baSourceID[desc->bNrInPins + 5] :
381− &desc->baSourceID[desc->bNrInPins + 7];
381+ &desc->baSourceID[desc->bNrInPins + 6];
382382 }
383383
384384 static inline __u8 uac_processing_unit_iProcessing(struct uac_processing_unit_descriptor *desc,