From 0615ba4a2efd9a5ba9566c0a49a035e92f56843f Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 20 May 2003 07:26:19 +0000 Subject: [PATCH] STABLE12-amd64-linux-port-20030428 first cut at an opteron port (cherry picked from commit 9dfb5d60479847c630d46bf67a6cd9570a5b1a21) --- Makefile.in | 4 ++++ src/afs/LINUX/osi_module.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/Makefile.in b/Makefile.in index ecc7b0623..5fc92dfe1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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} ;; \ *) \ diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c index b017ffa93..163e0fd3b 100644 --- a/src/afs/LINUX/osi_module.c +++ b/src/afs/LINUX/osi_module.c @@ -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