diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2025-08-01 13:55:33 +0200 |
---|---|---|
committer | Christoph Müllner <christophm30@gmail.com> | 2025-08-01 20:40:25 +0200 |
commit | 5d061c0ee23b1052d796e4e8e421aa6e16166fed (patch) | |
tree | 0ec5b8dceabfae236de0759c048b2a8fefad047f /linux-headers/include/linux/blkdev.h | |
parent | 686d7e6564509f1b25127df47e2f27a66958d0a0 (diff) | |
download | riscv-gnu-toolchain-master.zip riscv-gnu-toolchain-master.tar.gz riscv-gnu-toolchain-master.tar.bz2 |
This patch imports the Linux kernel headers v6.16.
This brings tons of new supported extensions for hwprobe.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'linux-headers/include/linux/blkdev.h')
-rw-r--r-- | linux-headers/include/linux/blkdev.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linux-headers/include/linux/blkdev.h b/linux-headers/include/linux/blkdev.h new file mode 100644 index 0000000..8d6d016 --- /dev/null +++ b/linux-headers/include/linux/blkdev.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_BLKDEV_H +#define _LINUX_BLKDEV_H + +#include <linux/ioctl.h> +#include <linux/types.h> + +/* + * io_uring block file commands, see IORING_OP_URING_CMD. + * It's a different number space from ioctl(), reuse the block's code 0x12. + */ +#define BLOCK_URING_CMD_DISCARD _IO(0x12, 0) + +#endif |