diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2023-08-30 12:35:54 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-08-30 12:35:54 +0300 |
commit | 9d1785590bbbb69833eae50c136267fce824515d (patch) | |
tree | 2a5fe54f675e201bbf52a307f1fd5bda9ccee996 /lib/raid6/mktables.c | |
parent | 2dde18cd1d8fac735875f2e4987f11817cc0bc2c (diff) | |
parent | 0d0bd28c500173bfca78aa840f8f36d261ef1765 (diff) | |
download | linux-9d1785590bbbb69833eae50c136267fce824515d.tar.xz |
Merge tag 'md-next-20230814-resend' into loongarch-next
LoongArch architecture changes for 6.5 (raid5/6 optimization) depend on
the md changes to fix build and work, so merge them to create a base.
Diffstat (limited to 'lib/raid6/mktables.c')
-rw-r--r-- | lib/raid6/mktables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/raid6/mktables.c b/lib/raid6/mktables.c index f02e10fa6238..3be03793237c 100644 --- a/lib/raid6/mktables.c +++ b/lib/raid6/mktables.c @@ -56,7 +56,9 @@ int main(int argc, char *argv[]) uint8_t v; uint8_t exptbl[256], invtbl[256]; + printf("#ifdef __KERNEL__\n"); printf("#include <linux/export.h>\n"); + printf("#endif\n"); printf("#include <linux/raid/pq.h>\n"); /* Compute multiplication table */ |