From a82e7fd0ea5333c58dab58d3acfbae91dbae64bb Mon Sep 17 00:00:00 2001 From: Romain Dolbeau Date: Fri, 26 Jun 2015 19:21:05 +0200 Subject: [PATCH] try to fix printk --- module/zfs/vdev_raidz.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/module/zfs/vdev_raidz.c b/module/zfs/vdev_raidz.c index 6e3f8d527d53..843d375713e3 100644 --- a/module/zfs/vdev_raidz.c +++ b/module/zfs/vdev_raidz.c @@ -25,7 +25,7 @@ */ #if defined(_KERNEL) -#include +#include #endif #include #include @@ -703,7 +703,8 @@ static void vdev_raidz_pick_parity_functions(void) { &vdev_raidz_generate_parity_pq_avx2; vdev_raidz_generate_parity_pqr = &vdev_raidz_generate_parity_pqr_avx2; - printk("ZFS: using vdev_raidz_generate_parity_*_avx2\n"); + printk(KERN_INFO \ + "ZFS: using vdev_raidz_generate_parity_*_avx2\n"); } else #endif #if defined(_KERNEL) && defined(CONFIG_AS_AVX) @@ -714,8 +715,8 @@ static void vdev_raidz_pick_parity_functions(void) { &vdev_raidz_generate_parity_pq_avx128; vdev_raidz_generate_parity_pqr = &vdev_raidz_generate_parity_pqr_avx128; - printk("ZFS: using vdev_raidz_generate_parity_"\ - "*_avx128\n"); + printk(KERN_INFO \ + "ZFS: using vdev_raidz_generate_parity_*_avx128\n"); } else #endif { @@ -727,7 +728,8 @@ static void vdev_raidz_pick_parity_functions(void) { vdev_raidz_generate_parity_pqr = &vdev_raidz_generate_parity_pqr_sse; #if defined(_KERNEL) - printk("ZFS: using vdev_raidz_generate_parity_*_sse\n"); + printk(KERN_INFO \ + "ZFS: using vdev_raidz_generate_parity_*_sse\n"); #endif } #endif