summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2016-02-03 15:43:59 -0800
committerShaohua Li <shli@fb.com>2016-02-03 15:43:59 -0800
commit9ea064158f4e02e64890ee1261449b01e954e594 (patch)
tree9e5f342207e6f679c312c114bf190d24980c0246 /include
parentb37a05c083c85c2657dca9bbe1f5d79dccf756d5 (diff)
parentfc2561ec0afcd89e2ec6f28a82a9219582844964 (diff)
downloadlinux-9ea064158f4e02e64890ee1261449b01e954e594.tar.bz2
Merge branch 'mymd/for-next' into mymd/for-linus
Diffstat (limited to 'include')
-rw-r--r--include/linux/raid/pq.h2
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,
# define jiffies raid6_jiffies()
# define printk printf
+# define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
+# define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__)
# define GFP_KERNEL 0
# define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \
PROT_READ|PROT_WRITE, \