mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-30 15:07:56 +00:00
btrfs-progs: kerncompat: re-add __init to include/kerncompat.h
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> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4c078a8536
commit
c0c5ca1522
@ -578,11 +578,7 @@ struct work_struct {
|
|||||||
typedef struct wait_queue_head_s {
|
typedef struct wait_queue_head_s {
|
||||||
} wait_queue_head_t;
|
} 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 __init
|
||||||
*/
|
|
||||||
#define __cold
|
#define __cold
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user