Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250409
b: refs/heads/master
c: a697dc9
h: refs/heads/master
i:
  250407: 4120267
v: v3
  • Loading branch information
Greg Ungerer committed May 24, 2011
1 parent d8f0154 commit 999cff3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 65 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c7f3feb63276f08dd289a2cb29694af17ad70dd
refs/heads/master: a697dc934f52355494b746d7b5568227e0910ae8
36 changes: 32 additions & 4 deletions trunk/arch/m68k/kernel/m68k_ksyms.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
#ifdef CONFIG_MMU
#include "m68k_ksyms_mm.c"
#else
#include "m68k_ksyms_no.c"
#include <linux/module.h>

asmlinkage long long __ashldi3 (long long, int);
asmlinkage long long __ashrdi3 (long long, int);
asmlinkage long long __lshrdi3 (long long, int);
asmlinkage long long __muldi3 (long long, long long);

/* The following are special because they're not called
explicitly (the C compiler generates them). Fortunately,
their interface isn't gonna change any time soon now, so
it's OK to leave it out of version control. */
EXPORT_SYMBOL(__ashldi3);
EXPORT_SYMBOL(__ashrdi3);
EXPORT_SYMBOL(__lshrdi3);
EXPORT_SYMBOL(__muldi3);

#if !defined(__mc68020__) && !defined(__mc68030__) && \
!defined(__mc68040__) && !defined(__mc68060__) && !defined(__mcpu32__)
/*
* Simpler 68k and ColdFire parts also need a few other gcc functions.
*/
extern long long __divsi3(long long, long long);
extern long long __modsi3(long long, long long);
extern long long __mulsi3(long long, long long);
extern long long __udivsi3(long long, long long);
extern long long __umodsi3(long long, long long);

EXPORT_SYMBOL(__divsi3);
EXPORT_SYMBOL(__modsi3);
EXPORT_SYMBOL(__mulsi3);
EXPORT_SYMBOL(__udivsi3);
EXPORT_SYMBOL(__umodsi3);
#endif
16 changes: 0 additions & 16 deletions trunk/arch/m68k/kernel/m68k_ksyms_mm.c

This file was deleted.

44 changes: 0 additions & 44 deletions trunk/arch/m68k/kernel/m68k_ksyms_no.c

This file was deleted.

0 comments on commit 999cff3

Please sign in to comment.