diff options
| author | Ingo Molnar <mingo@kernel.org> | 2013-10-02 01:55:54 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-10-02 01:55:54 -0400 |
| commit | 8a60d42d26d31df8121b251c2b5c56eb24e729f1 (patch) | |
| tree | 493db0b300a36aa539d7ebe6f8130ad6b54c4a6d /include/uapi/linux | |
| parent | 7752572f18f98ee796e173334b088a1d621d2da4 (diff) | |
| parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 (diff) | |
Merge tag 'v3.12-rc3' into irq/core
Merge Linux v3.12-rc3, to refresh the tree from a v3.11 base to a v3.12 base.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/uapi/linux')
54 files changed, 1451 insertions, 143 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index 997f9f2f0963..115add2515aa 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild | |||
| @@ -227,6 +227,7 @@ header-y += kvm_para.h | |||
| 227 | endif | 227 | endif |
| 228 | 228 | ||
| 229 | header-y += l2tp.h | 229 | header-y += l2tp.h |
| 230 | header-y += libc-compat.h | ||
| 230 | header-y += limits.h | 231 | header-y += limits.h |
| 231 | header-y += llc.h | 232 | header-y += llc.h |
| 232 | header-y += loop.h | 233 | header-y += loop.h |
| @@ -283,6 +284,7 @@ header-y += nfs_mount.h | |||
| 283 | header-y += nfsacl.h | 284 | header-y += nfsacl.h |
| 284 | header-y += nl80211.h | 285 | header-y += nl80211.h |
| 285 | header-y += nubus.h | 286 | header-y += nubus.h |
| 287 | header-y += nvme.h | ||
| 286 | header-y += nvram.h | 288 | header-y += nvram.h |
| 287 | header-y += omap3isp.h | 289 | header-y += omap3isp.h |
| 288 | header-y += omapfb.h | 290 | header-y += omapfb.h |
diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index 05aed70627e2..45e618921c61 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h | |||
| @@ -305,6 +305,31 @@ struct btrfs_ioctl_clone_range_args { | |||
| 305 | #define BTRFS_DEFRAG_RANGE_COMPRESS 1 | 305 | #define BTRFS_DEFRAG_RANGE_COMPRESS 1 |
| 306 | #define BTRFS_DEFRAG_RANGE_START_IO 2 | 306 | #define BTRFS_DEFRAG_RANGE_START_IO 2 |
| 307 | 307 | ||
| 308 | #define BTRFS_SAME_DATA_DIFFERS 1 | ||
| 309 | /* For extent-same ioctl */ | ||
| 310 | struct btrfs_ioctl_same_extent_info { | ||
| 311 | __s64 fd; /* in - destination file */ | ||
| 312 | __u64 logical_offset; /* in - start of extent in destination */ | ||
| 313 | __u64 bytes_deduped; /* out - total # of bytes we were able | ||
| 314 | * to dedupe from this file */ | ||
| 315 | /* status of this dedupe operation: | ||
| 316 | * 0 if dedup succeeds | ||
| 317 | * < 0 for error | ||
| 318 | * == BTRFS_SAME_DATA_DIFFERS if data differs | ||
| 319 | */ | ||
| 320 | __s32 status; /* out - see above description */ | ||
| 321 | __u32 reserved; | ||
| 322 | }; | ||
| 323 | |||
| 324 | struct btrfs_ioctl_same_args { | ||
| 325 | __u64 logical_offset; /* in - start of extent in source */ | ||
| 326 | __u64 length; /* in - length of extent */ | ||
| 327 | __u16 dest_count; /* in - total elements in info array */ | ||
| 328 | __u16 reserved1; | ||
| 329 | __u32 reserved2; | ||
| 330 | struct btrfs_ioctl_same_extent_info info[0]; | ||
| 331 | }; | ||
| 332 | |||
| 308 | struct btrfs_ioctl_space_info { | 333 | struct btrfs_ioctl_space_info { |
| 309 | __u64 flags; | 334 | __u64 flags; |
| 310 | __u64 total_bytes; | 335 | __u64 total_bytes; |
| @@ -524,7 +549,7 @@ static inline char *btrfs_err_str(enum btrfs_err_code err_code) | |||
| 524 | struct btrfs_ioctl_search_args) | 549 | struct btrfs_ioctl_search_args) |
| 525 | #define BTRFS_IOC_INO_LOOKUP _IOWR(BTRFS_IOCTL_MAGIC, 18, \ | 550 | #define BTRFS_IOC_INO_LOOKUP _IOWR(BTRFS_IOCTL_MAGIC, 18, \ |
| 526 | struct btrfs_ioctl_ino_lookup_args) | 551 | struct btrfs_ioctl_ino_lookup_args) |
| 527 | #define BTRFS_IOC_DEFAULT_SUBVOL _IOW(BTRFS_IOCTL_MAGIC, 19, u64) | 552 | #define BTRFS_IOC_DEFAULT_SUBVOL _IOW(BTRFS_IOCTL_MAGIC, 19, __u64) |
| 528 | #define BTRFS_IOC_SPACE_INFO _IOWR(BTRFS_IOCTL_MAGIC, 20, \ | 553 | #define BTRFS_IOC_SPACE_INFO _IOWR(BTRFS_IOCTL_MAGIC, 20, \ |
| 529 | struct btrfs_ioctl_space_args) | 554 | struct btrfs_ioctl_space_args) |
| 530 | #define BTRFS_IOC_START_SYNC _IOR(BTRFS_IOCTL_MAGIC, 24, __u64) | 555 | #define BTRFS_IOC_START_SYNC _IOR(BTRFS_IOCTL_MAGIC, 24, __u64) |
| @@ -579,4 +604,7 @@ static inline char *btrfs_err_str(enum btrfs_err_code err_code) | |||
| 579 | struct btrfs_ioctl_get_dev_stats) | 604 | struct btrfs_ioctl_get_dev_stats) |
| 580 | #define BTRFS_IOC_DEV_REPLACE _IOWR(BTRFS_IOCTL_MAGIC, 53, \ | 605 | #define BTRFS_IOC_DEV_REPLACE _IOWR(BTRFS_IOCTL_MAGIC, 53, \ |
| 581 | struct btrfs_ioctl_dev_replace_args) | 606 | struct btrfs_ioctl_dev_replace_args) |
| 607 | #define BTRFS_IOC_FILE_EXTENT_SAME _IOWR(BTRFS_IOCTL_MAGIC, 54, \ | ||
| 608 | struct btrfs_ioctl_same_args) | ||
| 609 | |||
| 582 | #endif /* _UAPI_LINUX_BTRFS_H */ | 610 | #endif /* _UAPI_LINUX_BTRFS_H */ |
diff --git a/include/uapi/linux/can/gw.h b/include/uapi/linux/can/gw.h index ae07bec74f4b..4e27c82b564a 100644 --- a/include/uapi/linux/can/gw.h +++ b/include/uapi/linux/can/gw.h | |||
| @@ -45,6 +45,7 @@ enum { | |||
| 45 | CGW_DST_IF, /* ifindex of destination network interface */ | 45 | CGW_DST_IF, /* ifindex of destination network interface */ |
| 46 | CGW_FILTER, /* specify struct can_filter on source CAN device */ | 46 | CGW_FILTER, /* specify struct can_filter on source CAN device */ |
| 47 | CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */ | 47 | CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */ |
| 48 | CGW_LIM_HOPS, /* limit the number of hops of this specific rule */ | ||
| 48 | __CGW_MAX | 49 | __CGW_MAX |
| 49 | }; | 50 | }; |
| 50 | 51 | ||
| @@ -116,13 +117,19 @@ enum { | |||
| 116 | * Sets a CAN receive filter for the gateway job specified by the | 117 | * Sets a CAN receive filter for the gateway job specified by the |
| 117 | * struct can_filter described in include/linux/can.h | 118 | * struct can_filter described in include/linux/can.h |
| 118 | * | 119 | * |
| 119 | * CGW_MOD_XXX (length 17 bytes): | 120 | * CGW_MOD_(AND|OR|XOR|SET) (length 17 bytes): |
