From: Sapan Bhatia Date: Tue, 5 Mar 2013 13:54:56 +0000 (-0500) Subject: Port to kernel 3.8 X-Git-Tag: procprotect-0.3-2~11 X-Git-Url: http://git.onelab.eu/?p=procprotect.git;a=commitdiff_plain;h=5d8a946ffbc555ecdb555fe16ffc1efa0bb8ff31 Port to kernel 3.8 --- diff --git a/Makefile b/Makefile index a328711..f703516 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ obj-m += procprotect.o all: - make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules + make -C /lib/modules/3.8.1-201.fc18.x86_64/build M=$(PWD) modules clean: - make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean + make -C /lib/modules/3.8.1-201.fc18.x86_64/build M=$(PWD) clean diff --git a/procprotect.c b/procprotect.c index 0c8f251..1ceea46 100644 --- a/procprotect.c +++ b/procprotect.c @@ -33,7 +33,7 @@ #error "This code does not support your architecture" #endif -static char *aclpath __devinitdata = "procprotect"; +static char *aclpath = "procprotect"; static struct qstr aclqpath; module_param(aclpath, charp, 0);