]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-amd64-linux-port-20030428
authorDerrick Brashear <shadow@dementia.org>
Tue, 20 May 2003 07:26:19 +0000 (07:26 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 20 May 2003 07:26:19 +0000 (07:26 +0000)
first cut at an opteron port

(cherry picked from commit 9dfb5d60479847c630d46bf67a6cd9570a5b1a21)

Makefile.in
src/afs/LINUX/osi_module.c

index ecc7b06237db24a0ee3ca98fd14734d1822c01f6..5fc92dfe189fa121fb21a63dd3b1554e49f3e869 100644 (file)
@@ -455,6 +455,8 @@ libafsauthent: ubik auth kauth libafsrpc
 
 shlibafsrpc: rx rxkad des
        case ${SYS_NAME} in \
+       amd64_linux24) \
+               echo Skipping shlibafsprc for amd64_linux24 ;; \
        alpha_dux*|sgi_*|sun*_*|rs_aix*|*linux*|hp_ux110) \
        ${COMPILE_PART1} shlibafsrpc ${COMPILE_PART2} ;; \
        *) \
@@ -463,6 +465,8 @@ shlibafsrpc: rx rxkad des
 
 shlibafsauthent: ubik auth kauth shlibafsrpc
        case ${SYS_NAME} in \
+       amd64_linux24) \
+               echo Skipping shlibafsauthent for amd64_linux24 ;; \
        alpha_dux*|sgi_*|sun*_*|rs_aix*|*linux*|hp_ux110) \
        ${COMPILE_PART1} shlibafsauthent ${COMPILE_PART2} ;; \
        *) \
index b017ffa936cb3e4b649c998c773d8ddcafa8bc43..163e0fd3b93ea1796432378da17c31af1728096e 100644 (file)
@@ -265,10 +265,15 @@ int init_module(void)
 #if defined(AFS_IA64_LINUX20_ENV)
     ptr = (unsigned long *) (&sys_close - 0x180000);
     datalen=0x180000/sizeof(ptr);
+#else
+#if defined(AFS_AMD64_LINUX20_ENV)
+    ptr=(unsigned long *)&init_mm;
+    datalen=0x180000/sizeof(ptr);
 #else
     ptr=(unsigned long *)&init_mm;
     datalen=16384;
 #endif
+#endif
 #endif
     for (offset=0;offset <datalen;ptr++,offset++) {
 #if defined(AFS_IA64_LINUX20_ENV)