diff options
-rw-r--r-- | linux/linux-ext-ocf-linux.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/linux-ext-ocf-linux.mk b/linux/linux-ext-ocf-linux.mk index faf7360e4..1a601d58c 100644 --- a/linux/linux-ext-ocf-linux.mk +++ b/linux/linux-ext-ocf-linux.mk @@ -15,6 +15,8 @@ LINUX_DEPENDENCIES += ocf-linux define OCF_LINUX_PREPARE_KERNEL support/scripts/apply-patches.sh $(LINUX_DIR) \ $(OCF_LINUX_DIR)/patches/ linux-3.2.1-ocf.patch ; \ + grep -q __mix_pool_bytes $(LINUX_DIR)/drivers/char/random.c && \ + $(SED) 's:wordcount\*4:&, NULL:' $(LINUX_DIR)/drivers/char/random.c ; \ cp -rf $(OCF_LINUX_DIR)/ocf $(LINUX_DIR)/crypto/ocf ; endef |