kernel/arch/powerpc/kernel/rtas_flash.c
.. .. @@ -710,9 +710,9 @@ 710 710 if (!rtas_validate_flash_data.buf) 711 711 return -ENOMEM; 712 712 713 - flash_block_cache = kmem_cache_create("rtas_flash_cache",714 - RTAS_BLK_SIZE, RTAS_BLK_SIZE, 0,715 - NULL);713 + flash_block_cache = kmem_cache_create_usercopy("rtas_flash_cache",714 + RTAS_BLK_SIZE, RTAS_BLK_SIZE,715 + 0, 0, RTAS_BLK_SIZE, NULL);716 716 if (!flash_block_cache) { 717 717 printk(KERN_ERR "%s: failed to create block cache\n", 718 718 __func__);