diff options
Diffstat (limited to 'include/linux/raid/pq.h')
-rw-r--r-- | include/linux/raid/pq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index a7a06d1dcf9c..a0118d5929a9 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h | |||
@@ -152,6 +152,8 @@ void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, | |||
152 | 152 | ||
153 | # define jiffies raid6_jiffies() | 153 | # define jiffies raid6_jiffies() |
154 | # define printk printf | 154 | # define printk printf |
155 | # define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__) | ||
156 | # define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__) | ||
155 | # define GFP_KERNEL 0 | 157 | # define GFP_KERNEL 0 |
156 | # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ | 158 | # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ |
157 | PROT_READ|PROT_WRITE, \ | 159 | PROT_READ|PROT_WRITE, \ |