makefile errors building nvidia module with nvidia-352 on debian jessie


trying to install cuda 7.5 on a lenovo-y50 70 (dual graphics cards intel + nvidia gtx 880M). kernel is

3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

installing the from the package manager like:

gdebi cuda-repo-ubuntu1504_7.5-18_amd64.deb

(but I’ve tried other versions)

Everything builds (bumblebee, bbswitch, etc) except the nvidia module itself:

Loading new nvidia-352-352.93 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-4-amd64
Building for architecture x86_64
Building initial module for 3.16.0-4-amd64
Error! Bad return status for module build on kernel: 3.16.0-4-amd64 (x86_64)

Looking at the log file I see a bunch of “conftest errors”:

/var/lib/dkms/nvidia-352/352.93/build/conftest/functions.h:13:2: error: #error kmem_cache_create() conftest failed!
 #error kmem_cache_create() conftest failed!
/var/lib/dkms/nvidia-352/352.93/build/conftest/functions.h:14:2: error: #error on_each_cpu() conftest failed!
 #error on_each_cpu() conftest failed!
/var/lib/dkms/nvidia-352/352.93/build/conftest/functions.h:15:2: error: #error smp_call_function() conftest failed!
 #error smp_call_function() conftest failed!
/var/lib/dkms/nvidia-352/352.93/build/conftest/functions.h:20:2: error: #error acpi_walk_namespace() conftest failed!
 #error acpi_walk_namespace() conftest failed!
/var/lib/dkms/nvidia-352/352.93/build/conftest/functions.h:22:2: error: #error pci_dma_mapping_error() conftest failed!
 #error pci_dma_mapping_error() conftest failed!
In file included from /var/lib/dkms/nvidia-352/352.93/build/conftest.h:4:0,
                 from /var/lib/dkms/nvidia-352/352.93/build/nv-linux.h:15,
                 from /var/lib/dkms/nvidia-352/352.93/build/nv-frontend.c:13:
/var/lib/dkms/nvidia-352/352.93/build/conftest/macros.h:1:2: error: #error INIT_WORK() conftest failed!
 #error INIT_WORK() conftest failed!

Most of the errors are like this, but also there are some files missing:

In file included from /var/lib/dkms/nvidia-352/352.93/build/nv_uvm_interface.c:21:0:
/var/lib/dkms/nvidia-352/352.93/build/nv-linux.h:163:27: fatal error: asm/semaphore.h: No such file or directory
 #include <asm/semaphore.h>

Any ideas? So far as I could tell my gpu should be able to be upgradeable to 7.5. There are no other old kernels hanging around either.
Can attach the full log if need be