Skip to content

Commit

Permalink
[IA64] Fix section conflict of ia64_mlogbuf_finish
Browse files Browse the repository at this point in the history
Building with GCC 4.2, I get the following error:

  CC      arch/ia64/kernel/mca.o
arch/ia64/kernel/mca.c:275: error: __ksymtab_ia64_mlogbuf_finish causes a
section type conflict

This is because ia64_mlogbuf_finish is both declared static and exported.
Fix by removing the export (which is unneeded now).

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Martin Michlmayr authored and Tony Luck committed May 15, 2007
1 parent c47953c commit 17028c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/ia64/kernel/mca.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ static void ia64_mlogbuf_finish(int wait)

mlogbuf_finished = 1;
}
EXPORT_SYMBOL(ia64_mlogbuf_finish);

/*
* Print buffered messages from INIT context.
Expand Down

0 comments on commit 17028c5

Please sign in to comment.