diff options
| author | David S. Miller <davem@davemloft.net> | 2019-09-15 08:17:27 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-09-15 08:17:27 -0400 |
| commit | aa2eaa8c272a3211dec07ce9c6c863a7e355c10e (patch) | |
| tree | 8454a23d36b2ff36133c276ee0ba80eabc00850e /include/linux | |
| parent | a3d3c74da49c65fc63a937fa559186b0e16adca3 (diff) | |
| parent | 1609d7604b847a9820e63393d1a3b6cac7286d40 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Minor overlapping changes in the btusb and ixgbe drivers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/compiler.h | 8 | ||||
| -rw-r--r-- | include/linux/input/elan-i2c-ids.h | 2 | ||||
| -rw-r--r-- | include/linux/intel-iommu.h | 3 | ||||
| -rw-r--r-- | include/linux/phy_fixed.h | 1 | ||||
| -rw-r--r-- | include/linux/syscalls.h | 19 |
5 files changed, 25 insertions, 8 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index f0fd5636fddb..5e88e7e33abe 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
| @@ -24,7 +24,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, | |||
| 24 | long ______r; \ | 24 | long ______r; \ |
| 25 | static struct ftrace_likely_data \ | 25 | static struct ftrace_likely_data \ |
| 26 | __aligned(4) \ | 26 | __aligned(4) \ |
| 27 | __section("_ftrace_annotated_branch") \ | 27 | __section(_ftrace_annotated_branch) \ |
| 28 | ______f = { \ | 28 | ______f = { \ |
| 29 | .data.func = __func__, \ | 29 | .data.func = __func__, \ |
| 30 | .data.file = __FILE__, \ | 30 | .data.file = __FILE__, \ |
| @@ -60,7 +60,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, | |||
| 60 | #define __trace_if_value(cond) ({ \ | 60 | #define __trace_if_value(cond) ({ \ |
| 61 | static struct ftrace_branch_data \ | 61 | static struct ftrace_branch_data \ |
| 62 | __aligned(4) \ | 62 | __aligned(4) \ |
| 63 | __section("_ftrace_branch") \ | 63 | __section(_ftrace_branch) \ |
| 64 | __if_trace = { \ | 64 | __if_trace = { \ |
| 65 | .func = __func__, \ | 65 | .func = __func__, \ |
| 66 | .file = __FILE__, \ | 66 | .file = __FILE__, \ |
| @@ -118,7 +118,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, | |||
| 118 | ".popsection\n\t" | 118 | ".popsection\n\t" |
| 119 | 119 | ||
| 120 | /* Annotate a C jump table to allow objtool to follow the code flow */ | 120 | /* Annotate a C jump table to allow objtool to follow the code flow */ |
| 121 | #define __annotate_jump_table __section(".rodata..c_jump_table") | 121 | #define __annotate_jump_table __section(.rodata..c_jump_table) |
| 122 | 122 | ||
| 123 | #else | 123 | #else |
| 124 | #define annotate_reachable() | 124 | #define annotate_reachable() |
| @@ -298,7 +298,7 @@ unsigned long read_word_at_a_time(const void *addr) | |||
| 298 | * visible to the compiler. | 298 | * visible to the compiler. |
| 299 | */ | 299 | */ |
| 300 | #define __ADDRESSABLE(sym) \ | 300 | #define __ADDRESSABLE(sym) \ |
| 301 | static void * __section(".discard.addressable") __used \ | 301 | static void * __section(.discard.addressable) __used \ |
| 302 | __PASTE(__addressable_##sym, __LINE__) = (void *)&sym; | 302 | __PASTE(__addressable_##sym, __LINE__) = (void *)&sym; |
| 303 | 303 | ||
| 304 | /** | 304 | /** |
diff --git a/include/linux/input/elan-i2c-ids.h b/include/linux/input/elan-i2c-ids.h index ceabb01a6a7d..1ecb6b45812c 100644 --- a/include/linux/input/elan-i2c-ids.h +++ b/include/linux/input/elan-i2c-ids.h | |||
| @@ -48,7 +48,7 @@ static const struct acpi_device_id elan_acpi_id[] = { | |||
| 48 | { "ELAN0618", 0 }, | 48 | { "ELAN0618", 0 }, |
| 49 | { "ELAN0619", 0 }, | 49 | { "ELAN0619", 0 }, |
| 50 | { "ELAN061A", 0 }, | 50 | { "ELAN061A", 0 }, |
| 51 | { "ELAN061B", 0 }, | 51 | /* { "ELAN061B", 0 }, not working on the Lenovo Legion Y7000 */ |
| 52 | { "ELAN061C", 0 }, | 52 | { "ELAN061C", 0 }, |
| 53 | { "ELAN061D", 0 }, | 53 | { "ELAN061D", 0 }, |
| 54 | { "ELAN061E", 0 }, | 54 | { "ELAN061E", 0 }, |
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index f2ae8a006ff8..4fc6454f7ebb 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h | |||
| @@ -346,7 +346,6 @@ enum { | |||
| 346 | #define QI_PC_PASID_SEL (QI_PC_TYPE | QI_PC_GRAN(1)) | 346 | #define QI_PC_PASID_SEL (QI_PC_TYPE | QI_PC_GRAN(1)) |
| 347 | 347 | ||
| 348 | #define QI_EIOTLB_ADDR(addr) ((u64)(addr) & VTD_PAGE_MASK) | 348 | #define QI_EIOTLB_ADDR(addr) ((u64)(addr) & VTD_PAGE_MASK) |
| 349 | #define QI_EIOTLB_GL(gl) (((u64)gl) << 7) | ||
| 350 | #define QI_EIOTLB_IH(ih) (((u64)ih) << 6) | 349 | #define QI_EIOTLB_IH(ih) (((u64)ih) << 6) |
| 351 | #define QI_EIOTLB_AM(am) (((u64)am)) | 350 | #define QI_EIOTLB_AM(am) (((u64)am)) |
| 352 | #define QI_EIOTLB_PASID(pasid) (((u64)pasid) << 32) | 351 | #define QI_EIOTLB_PASID(pasid) (((u64)pasid) << 32) |
| @@ -378,8 +377,6 @@ enum { | |||
| 378 | #define QI_RESP_INVALID 0x1 | 377 | #define QI_RESP_INVALID 0x1 |
| 379 | #define QI_RESP_FAILURE 0xf | 378 | #define QI_RESP_FAILURE 0xf |
| 380 | 379 | ||
| 381 | #define QI_GRAN_ALL_ALL 0 | ||
| 382 | #define QI_GRAN_NONG_ALL 1 | ||
| 383 | #define QI_GRAN_NONG_PASID 2 | 380 | #define QI_GRAN_NONG_PASID 2 |
| 384 | #define QI_GRAN_PSI_PASID 3 | 381 | #define QI_GRAN_PSI_PASID 3 |
| 385 | 382 | ||
diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h index 1e5d86ebdaeb..52bc8e487ef7 100644 --- a/include/linux/phy_fixed.h +++ b/include/linux/phy_fixed.h | |||
| @@ -11,6 +11,7 @@ struct fixed_phy_status { | |||
| 11 | }; | 11 | }; |
| 12 | 12 | ||
| 13 | struct device_node; | 13 | struct device_node; |
| 14 | struct gpio_desc; | ||
| 14 | 15 | ||
| 15 | #if IS_ENABLED(CONFIG_FIXED_PHY) | 16 | #if IS_ENABLED(CONFIG_FIXED_PHY) |
| 16 | extern int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier); | 17 | extern int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier); |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 88145da7d140..f7c561c4dcdd 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
| @@ -1402,4 +1402,23 @@ static inline unsigned int ksys_personality(unsigned int personality) | |||
| 1402 | return old; | 1402 | return old; |
| 1403 | } | 1403 | } |
| 1404 | 1404 | ||
| 1405 | /* for __ARCH_WANT_SYS_IPC */ | ||
| 1406 | long ksys_semtimedop(int semid, struct sembuf __user *tsops, | ||
| 1407 | unsigned int nsops, | ||
| 1408 | const struct __kernel_timespec __user *timeout); | ||
| 1409 | long ksys_semget(key_t key, int nsems, int semflg); | ||
| 1410 | long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); | ||
| 1411 | long ksys_msgget(key_t key, int msgflg); | ||
| 1412 | long ksys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf); | ||
| 1413 | long ksys_msgrcv(int msqid, struct msgbuf __user *msgp, size_t msgsz, | ||
| 1414 | long msgtyp, int msgflg); | ||
| 1415 | long ksys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz, | ||
| 1416 | int msgflg); | ||
| 1417 | long ksys_shmget(key_t key, size_t size, int shmflg); | ||
| 1418 | long ksys_shmdt(char __user *shmaddr); | ||
| 1419 | long ksys_old_shmctl(int shmid, int cmd, struct shmid_ds __user *buf); | ||
| 1420 | long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, | ||
| 1421 | unsigned int nsops, | ||
| 1422 | const struct old_timespec32 __user *timeout); | ||
| 1423 | |||
| 1405 | #endif | 1424 | #endif |
