mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
amd64-syscall-probe-20070212
FIXES 53441 based on suggested change from cg2v@andrew.cmu.edu tasklist_lock not being exported makes this useless otherwise S: ---------------------------------------------------------------------- ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== FIXES 53441 based on suggested change from cg2v@andrew.cmu.edu tasklist_lock not being exported makes this useless otherwise
This commit is contained in:
parent
4d5138c403
commit
5b0ba22734
@ -247,9 +247,6 @@ extern asmlinkage long sys_exit (int) __attribute__((weak));
|
||||
extern asmlinkage long sys_open (const char *, int, int) __attribute__((weak));
|
||||
#endif
|
||||
extern asmlinkage long sys_ioctl(unsigned int, unsigned int, unsigned long) __attribute__((weak));
|
||||
#if defined(EXPORTED_TASKLIST_LOCK)
|
||||
extern rwlock_t tasklist_lock __attribute__((weak));
|
||||
#endif
|
||||
|
||||
|
||||
/* Structures used to control probing. We put all the details of which
|
||||
@ -517,7 +514,7 @@ static probectl main_probe = {
|
||||
(unsigned long)&sys_close,
|
||||
#elif defined(AFS_AMD64_LINUX20_ENV)
|
||||
/* On this platform, it's in a different section! */
|
||||
(unsigned long)&tasklist_lock,
|
||||
(unsigned long)&generic_ro_fops,
|
||||
#else
|
||||
(unsigned long)&init_mm,
|
||||
#endif
|
||||
@ -539,7 +536,7 @@ static probectl main_probe = {
|
||||
0x1fffff,
|
||||
0x30000,
|
||||
#elif defined(AFS_AMD64_LINUX20_ENV)
|
||||
(unsigned long)(&tasklist_lock) - 0x30000,
|
||||
(unsigned long)(&generic_ro_fops) - 0x30000,
|
||||
0,
|
||||
0x6000,
|
||||
#elif defined(AFS_PPC64_LINUX26_ENV)
|
||||
|
Loading…
Reference in New Issue
Block a user