Patch for 340.104 on 4.13 kernal Fedora 25

I have been trying to follow the instructions here, which is where I normally go when my kernel updates:

However, I can’t seem to find the right patch for 4.13 on Fedora 25. I ran the NVIDIA-Linux-x86_64-340.104-patched-fedora-26-kernel-4.13.run before realizing it was for Fedora 26, and I can log in to my machine fine, but Cinnamon immediately crashes. I tried applying the nvidia_mtrr_k4_3.patch listed elsewhere on the site, but I get the following error:

$ patch NVIDIA-Linux-x86_64-340.104/kernel/nv-linux.h < nvidia_mtrr_k4_3.patch
patching file NVIDIA-Linux-x86_64-340.104/kernel/nv-linux.h
Hunk #1 FAILED at 256.
1 out of 1 hunk FAILED -- saving rejects to file NVIDIA-Linux-x86_64-340.104/kernel/nv-linux.h.rej

Any help is appreciated, thanks.

-Michael

In case anyone else stumbles on this, there is an answer I missed here:

Thanks @ejmarkow!

-Michael