Linux: The kernel module always runs in the kernel
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 23 Apr 2010 16:10:15 +0000 (17:10 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 26 Apr 2010 04:32:55 +0000 (21:32 -0700)
commitad306046291c5c67178251d349f1250fef895ae2
tree70961f41f4cc3639269b9dd3906d896bb97dfb15
parent51c1eb362da866e28a9fb9a6f5d9d412aac7e8c2
Linux: The kernel module always runs in the kernel

There's no situation where we'd be including osi_machdep.h and not
be building for the kernel, so just remove the case that disables all of
the locks if __KERNEL__ isn't defined.

Change-Id: I1141c37cf0cd517191dee7ca2404e109d4053c29
Reviewed-on: http://gerrit.openafs.org/1821
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_machdep.h