I had success with the patch by placing it in /usr/src and then creating the dir /usr/src/linux/include/linux/raid then using patch on it. Everything works fine then.... after completing that but before compiling add to md.c this line.... MD_EXPORT_SYMBOL(md_interrupt_thread); else nothing will work.