From 5d8a946ffbc555ecdb555fe16ffc1efa0bb8ff31 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Tue, 5 Mar 2013 08:54:56 -0500 Subject: [PATCH] Port to kernel 3.8 --- Makefile | 4 ++-- procprotect.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.43.0