2007-10-30 09:36:59

by Jesper Nilsson

[permalink] [raw]
Subject: [PATCH 15/16] CRIS architecture: Correct compile errors

- Add __negdi2 to exported symbols.
- Remove string functions from exported symbols.

Signed-off-by: Jesper Nilsson <[email protected]>

---
crisksyms.c | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)

diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris/kernel/crisksyms.c linux-2.6.23/arch/cris/kernel/crisksyms.c
--- clean_linux-2.6.23/arch/cris/kernel/crisksyms.c 2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.23/arch/cris/kernel/crisksyms.c 2007-10-23 13:52:07.000000000 +0200
@@ -27,6 +27,7 @@
extern void __ashldi3(void);
extern void __ashrdi3(void);
extern void __lshrdi3(void);
+extern void __negdi2(void);
extern void iounmap(volatile void * __iomem);

/* Platform dependent support */
@@ -34,19 +35,6 @@
EXPORT_SYMBOL(get_cmos_time);
EXPORT_SYMBOL(loops_per_usec);

-/* String functions */
-EXPORT_SYMBOL(memcmp);
-EXPORT_SYMBOL(memmove);
-EXPORT_SYMBOL(strstr);
-EXPORT_SYMBOL(strcpy);
-EXPORT_SYMBOL(strchr);
-EXPORT_SYMBOL(strcmp);
-EXPORT_SYMBOL(strlen);
-EXPORT_SYMBOL(strcat);
-EXPORT_SYMBOL(strncat);
-EXPORT_SYMBOL(strncmp);
-EXPORT_SYMBOL(strncpy);
-
/* Math functions */
EXPORT_SYMBOL(__Udiv);
EXPORT_SYMBOL(__Umod);
@@ -55,6 +45,7 @@
EXPORT_SYMBOL(__ashldi3);
EXPORT_SYMBOL(__ashrdi3);
EXPORT_SYMBOL(__lshrdi3);
+EXPORT_SYMBOL(__negdi2);

/* Memory functions */
EXPORT_SYMBOL(__ioremap);
@@ -84,4 +75,4 @@
EXPORT_SYMBOL(del_fast_timer);
EXPORT_SYMBOL(schedule_usleep);
#endif
-
+EXPORT_SYMBOL(csum_partial);

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]


2007-10-30 11:20:34

by Mikael Starvik

[permalink] [raw]
Subject: RE: [PATCH 15/16] CRIS architecture: Correct compile errors

Signed-off-by: Mikael Starvik <[email protected]>

-----Original Message-----
From: Jesper Nilsson [mailto:[email protected]]
Sent: Tuesday, October 30, 2007 10:36 AM
To: Andrew Morton; Mikael Starvik; Jesper Nilsson;
[email protected]
Subject: [PATCH 15/16] CRIS architecture: Correct compile errors


- Add __negdi2 to exported symbols.
- Remove string functions from exported symbols.

Signed-off-by: Jesper Nilsson <[email protected]>

---
crisksyms.c | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)

diff -urBb -X /h/jespern/.exclude_files
clean_linux-2.6.23/arch/cris/kernel/crisksyms.c
linux-2.6.23/arch/cris/kernel/crisksyms.c
--- clean_linux-2.6.23/arch/cris/kernel/crisksyms.c 2007-10-09
22:31:38.000000000 +0200
+++ linux-2.6.23/arch/cris/kernel/crisksyms.c 2007-10-23
13:52:07.000000000 +0200
@@ -27,6 +27,7 @@
extern void __ashldi3(void);
extern void __ashrdi3(void);
extern void __lshrdi3(void);
+extern void __negdi2(void);
extern void iounmap(volatile void * __iomem);

/* Platform dependent support */
@@ -34,19 +35,6 @@
EXPORT_SYMBOL(get_cmos_time);
EXPORT_SYMBOL(loops_per_usec);

-/* String functions */
-EXPORT_SYMBOL(memcmp);
-EXPORT_SYMBOL(memmove);
-EXPORT_SYMBOL(strstr);
-EXPORT_SYMBOL(strcpy);
-EXPORT_SYMBOL(strchr);
-EXPORT_SYMBOL(strcmp);
-EXPORT_SYMBOL(strlen);
-EXPORT_SYMBOL(strcat);
-EXPORT_SYMBOL(strncat);
-EXPORT_SYMBOL(strncmp);
-EXPORT_SYMBOL(strncpy);
-
/* Math functions */
EXPORT_SYMBOL(__Udiv);
EXPORT_SYMBOL(__Umod);
@@ -55,6 +45,7 @@
EXPORT_SYMBOL(__ashldi3);
EXPORT_SYMBOL(__ashrdi3);
EXPORT_SYMBOL(__lshrdi3);
+EXPORT_SYMBOL(__negdi2);

/* Memory functions */
EXPORT_SYMBOL(__ioremap);
@@ -84,4 +75,4 @@
EXPORT_SYMBOL(del_fast_timer);
EXPORT_SYMBOL(schedule_usleep);
#endif
-
+EXPORT_SYMBOL(csum_partial);

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]