diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 15:50:58 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:19 -0400 |
commit | daaa5f7cbee37dfc8464d350f1eacd6e94b278cc (patch) | |
tree | dec72cbeee1d5fbb169c21305510918818a0d45d /lib | |
parent | 056075c76417b112b4924e7b6386fdc6dfc9ac03 (diff) |
md: Add in export.h for files using EXPORT_SYMBOL
These files were getting the defines for EXPORT_SYMBOL because
device.h was including module.h. But we are going to put an
end to that. So add the proper export.h include now.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/raid6/mktables.c | 1 | ||||
-rw-r--r-- | lib/raid6/recov.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/raid6/mktables.c b/lib/raid6/mktables.c index 3b1500843bb..8a3780902ce 100644 --- a/lib/raid6/mktables.c +++ b/lib/raid6/mktables.c | |||
@@ -60,6 +60,7 @@ int main(int argc, char *argv[]) | |||
60 | uint8_t exptbl[256], invtbl[256]; | 60 | uint8_t exptbl[256], invtbl[256]; |
61 | 61 | ||
62 | printf("#include <linux/raid/pq.h>\n"); | 62 | printf("#include <linux/raid/pq.h>\n"); |
63 | printf("#include <linux/export.h>\n"); | ||
63 | 64 | ||
64 | /* Compute multiplication table */ | 65 | /* Compute multiplication table */ |
65 | printf("\nconst u8 __attribute__((aligned(256)))\n" | 66 | printf("\nconst u8 __attribute__((aligned(256)))\n" |
diff --git a/lib/raid6/recov.c b/lib/raid6/recov.c index 8590d19cf52..fe275d7b6b3 100644 --- a/lib/raid6/recov.c +++ b/lib/raid6/recov.c | |||
@@ -18,6 +18,7 @@ | |||
18 | * the syndrome.) | 18 | * the syndrome.) |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/export.h> | ||
21 | #include <linux/raid/pq.h> | 22 | #include <linux/raid/pq.h> |
22 | 23 | ||
23 | /* Recover two failed data blocks. */ | 24 | /* Recover two failed data blocks. */ |