diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2007-11-14 20:01:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-14 21:45:46 -0500 |
commit | 5af26b1862a49770e6cf7a297ddd9fd8421b01fe (patch) | |
tree | cac9b29e63041da4494309ea8cd29d708a02cd38 | |
parent | a8e2a8b22712593980b524dc45baa06a36286fc0 (diff) |
cris build fixes: fix crisksyms.c
- Add __negdi2 to exported symbols.
- Remove string functions from exported symbols.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/cris/kernel/crisksyms.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/arch/cris/kernel/crisksyms.c b/arch/cris/kernel/crisksyms.c index 105bb5ed48f7..62f0e752915a 100644 --- a/arch/cris/kernel/crisksyms.c +++ b/arch/cris/kernel/crisksyms.c | |||
@@ -27,6 +27,7 @@ extern void __Mod(void); | |||
27 | extern void __ashldi3(void); | 27 | extern void __ashldi3(void); |
28 | extern void __ashrdi3(void); | 28 | extern void __ashrdi3(void); |
29 | extern void __lshrdi3(void); | 29 | extern void __lshrdi3(void); |
30 | extern void __negdi2(void); | ||
30 | extern void iounmap(volatile void * __iomem); | 31 | extern void iounmap(volatile void * __iomem); |
31 | 32 | ||
32 | /* Platform dependent support */ | 33 | /* Platform dependent support */ |
@@ -34,19 +35,6 @@ EXPORT_SYMBOL(kernel_thread); | |||
34 | EXPORT_SYMBOL(get_cmos_time); | 35 | EXPORT_SYMBOL(get_cmos_time); |
35 | EXPORT_SYMBOL(loops_per_usec); | 36 | EXPORT_SYMBOL(loops_per_usec); |
36 | 37 | ||
37 | /* String functions */ | ||
38 | EXPORT_SYMBOL(memcmp); | ||
39 | EXPORT_SYMBOL(memmove); | ||
40 | EXPORT_SYMBOL(strstr); | ||
41 | EXPORT_SYMBOL(strcpy); | ||
42 | EXPORT_SYMBOL(strchr); | ||
43 | EXPORT_SYMBOL(strcmp); | ||
44 | EXPORT_SYMBOL(strlen); | ||
45 | EXPORT_SYMBOL(strcat); | ||
46 | EXPORT_SYMBOL(strncat); | ||
47 | EXPORT_SYMBOL(strncmp); | ||
48 | EXPORT_SYMBOL(strncpy); | ||
49 | |||
50 | /* Math functions */ | 38 | /* Math functions */ |
51 | EXPORT_SYMBOL(__Udiv); | 39 | EXPORT_SYMBOL(__Udiv); |
52 | EXPORT_SYMBOL(__Umod); | 40 | EXPORT_SYMBOL(__Umod); |
@@ -55,6 +43,7 @@ EXPORT_SYMBOL(__Mod); | |||
55 | EXPORT_SYMBOL(__ashldi3); | 43 | EXPORT_SYMBOL(__ashldi3); |
56 | EXPORT_SYMBOL(__ashrdi3); | 44 | EXPORT_SYMBOL(__ashrdi3); |
57 | EXPORT_SYMBOL(__lshrdi3); | 45 | EXPORT_SYMBOL(__lshrdi3); |
46 | EXPORT_SYMBOL(__negdi2); | ||
58 | 47 | ||
59 | /* Memory functions */ | 48 | /* Memory functions */ |
60 | EXPORT_SYMBOL(__ioremap); | 49 | EXPORT_SYMBOL(__ioremap); |
@@ -84,4 +73,4 @@ EXPORT_SYMBOL(start_one_shot_timer); | |||
84 | EXPORT_SYMBOL(del_fast_timer); | 73 | EXPORT_SYMBOL(del_fast_timer); |
85 | EXPORT_SYMBOL(schedule_usleep); | 74 | EXPORT_SYMBOL(schedule_usleep); |
86 | #endif | 75 | #endif |
87 | 76 | EXPORT_SYMBOL(csum_partial); | |