From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/tools/virtio/linux/compiler.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/tools/virtio/linux/compiler.h b/kernel/tools/virtio/linux/compiler.h index 903dc9c..2c51bcc 100644 --- a/kernel/tools/virtio/linux/compiler.h +++ b/kernel/tools/virtio/linux/compiler.h @@ -7,4 +7,5 @@ #define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) +#define __aligned(x) __attribute((__aligned__(x))) #endif -- Gitblit v1.6.2