Message ID | 5a4ffce3fba84f2989eed75fe6ef7a96d0bbf0eb.1681938648.git.josef@toxicpanda.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: prep work for syncing files into kernel-shared | expand |
diff --git a/include/kerncompat.h b/include/kerncompat.h index 4dce65c0..62b6a357 100644 --- a/include/kerncompat.h +++ b/include/kerncompat.h @@ -578,11 +578,7 @@ struct work_struct { typedef struct wait_queue_head_s { } wait_queue_head_t; -/* - * __init cannot be defined in kerncompat.h as it's still part of libbtrfs and - * the macro name is too generic and can break build. #define __init -*/ #define __cold #endif
Now that we're properly separated with libbtrfs/kerncompat.h and include/kerncompat.h, go ahead and add the __init definition back so we can have it available for the kernel synced files. Signed-off-by: Josef Bacik <josef@toxicpanda.com> --- include/kerncompat.h | 4 ---- 1 file changed, 4 deletions(-)