Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 176050 | Differences between
and this patch

Collapse All | Expand All

(-)openafs-1.4.4/src/afs/LINUX/osi_probe.c.old (-1 / +7 lines)
Lines 228-234 Link Here
228
				     ) __attribute__((weak));
228
				     ) __attribute__((weak));
229
#endif
229
#endif
230
230
231
#ifdef LINUX_EXPORTS_SYS_CALL_TABLE
231
extern SYSCALLTYPE sys_call_table[] __attribute__((weak));
232
extern SYSCALLTYPE sys_call_table[] __attribute__((weak));
233
#endif
232
extern SYSCALLTYPE ia32_sys_call_table[] __attribute__((weak));
234
extern SYSCALLTYPE ia32_sys_call_table[] __attribute__((weak));
233
extern SYSCALLTYPE sys_call_table32[] __attribute__((weak));
235
extern SYSCALLTYPE sys_call_table32[] __attribute__((weak));
234
extern SYSCALLTYPE sys_call_table_emu[] __attribute__((weak));
236
extern SYSCALLTYPE sys_call_table_emu[] __attribute__((weak));
Lines 505-511 Link Here
505
    0,
507
    0,
506
#endif
508
#endif
507
509
508
    sys_call_table,               /* weak symbol ref */
510
#ifdef LINUX_EXPORTS_SYS_CALL_TABLE
511
		sys_call_table,               /* weak symbol ref */
512
#else
513
		0,
514
#endif
509
    0, 0,                         /* module parameter answers */
515
    0, 0,                         /* module parameter answers */
510
#ifdef AFS_LINUX_sys_call_table
516
#ifdef AFS_LINUX_sys_call_table
511
    AFS_LINUX_sys_call_table,     /* compiled-in answer, if any */
517
    AFS_LINUX_sys_call_table,     /* compiled-in answer, if any */
(-)openafs-1.4.4/src/cf/linux-test4.m4.old (-3 / +3 lines)
Lines 111-119 Link Here
111
  AC_CACHE_VAL([ac_cv_linux_exports_sys_call_table], [
111
  AC_CACHE_VAL([ac_cv_linux_exports_sys_call_table], [
112
    AC_TRY_KBUILD(
112
    AC_TRY_KBUILD(
113
[#include <linux/modversions.h>],
113
[#include <linux/modversions.h>],
114
[#ifndef __ver_sys_call_table
114
[
115
#error sys_call_table not exported
115
extern SYSCALLTYPE sys_call_table[] __attribute__((weak));
116
#endif],
116
],
117
      ac_cv_linux_exports_sys_call_table=yes,
117
      ac_cv_linux_exports_sys_call_table=yes,
118
      ac_cv_linux_exports_sys_call_table=no)])
118
      ac_cv_linux_exports_sys_call_table=no)])
119
  AC_MSG_RESULT($ac_cv_linux_exports_sys_call_table)])
119
  AC_MSG_RESULT($ac_cv_linux_exports_sys_call_table)])

Return to bug 176050