mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
STABLE14-linux-always-glock-20050427
finish this up, always glock on linux (cherry picked from commit c90b1bd66a8c2565a4b6927d2344768b0768c545)
This commit is contained in:
parent
935d7009cf
commit
f107740d3a
@ -199,7 +199,7 @@ extern unsigned long afs_linux_page_offset;
|
||||
/* function to help with the page offset stuff */
|
||||
#define afs_linux_page_address(page) (afs_linux_page_offset + PAGE_SIZE * (page - mem_map))
|
||||
|
||||
#if defined(__KERNEL__) && defined(CONFIG_SMP)
|
||||
#if defined(__KERNEL__)
|
||||
#include "../h/sched.h"
|
||||
#include "linux/wait.h"
|
||||
|
||||
|
@ -42,8 +42,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
#include <linux/modversions.h>
|
||||
|
@ -47,8 +47,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
|
@ -49,8 +49,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
|
@ -35,8 +35,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
|
@ -48,8 +48,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
|
@ -50,8 +50,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
|
@ -45,8 +45,8 @@
|
||||
#ifndef __SMP__
|
||||
#define __SMP__
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
#endif
|
||||
#define AFS_GLOBAL_SUNLOCK
|
||||
|
||||
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
|
||||
#define MODVERSIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user