Skip to content

Commit

Permalink
[PATCH] x86: Export _proxy_pda for gcc 4.2
Browse files Browse the repository at this point in the history
The symbol is not actually used, but the compiler unforunately generates
a (unused) reference to it. This can happen even in modules. So export it.

Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Mar 16, 2007
1 parent 28f36f8 commit 92b35e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/i386/kernel/i386_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ EXPORT_SYMBOL(__read_lock_failed);
#endif

EXPORT_SYMBOL(csum_partial);

EXPORT_SYMBOL(_proxy_pda);
1 change: 1 addition & 0 deletions arch/x86_64/kernel/x8664_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ EXPORT_SYMBOL(empty_zero_page);
EXPORT_SYMBOL(init_level4_pgt);
EXPORT_SYMBOL(load_gs_index);

EXPORT_SYMBOL(_proxy_pda);

0 comments on commit 92b35e9

Please sign in to comment.