Port to kernel 3.8
authorSapan Bhatia <gwsapan@gmail.com>
Tue, 5 Mar 2013 13:54:56 +0000 (08:54 -0500)
committerSapan Bhatia <gwsapan@gmail.com>
Tue, 5 Mar 2013 13:54:56 +0000 (08:54 -0500)
Makefile
procprotect.c

index a328711..f703516 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 obj-m += procprotect.o
 
 all:
 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:
 
 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
index 0c8f251..1ceea46 100644 (file)
@@ -33,7 +33,7 @@
 #error "This code does not support your architecture"
 #endif
 
 #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);
 static struct qstr aclqpath;
 
 module_param(aclpath, charp, 0);