aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/linux/const.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2023-07-09 23:23:08 +0200
committerCédric Le Goater <clg@redhat.com>2023-07-10 09:52:52 +0200
commitd0bf492f3877d4187d2f7d0c0abb3a2bf3104392 (patch)
treeeadabad28d572a4711b26e5ab63e0114c3f751bf /linux-headers/linux/const.h
parent8af87a3ec7e42ff1b9cf75ceee0451c31e34d153 (diff)
linux-headers: update to v6.5-rc1
Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'linux-headers/linux/const.h')
-rw-r--r--linux-headers/linux/const.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-headers/linux/const.h b/linux-headers/linux/const.h
index 5e48987251..1eb84b5087 100644
--- a/linux-headers/linux/const.h
+++ b/linux-headers/linux/const.h
@@ -28,7 +28,7 @@
#define _BITUL(x) (_UL(1) << (x))
#define _BITULL(x) (_ULL(1) << (x))
-#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
+#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))