linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] missing symbols in ksyms
@ 2004-05-04 22:55 Vincent Guffens
  0 siblings, 0 replies; only message in thread
From: Vincent Guffens @ 2004-05-04 22:55 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

I think these 2 symbols are missing in ksyms.c : enable_irq, disable_irq

Following diff fixes the problem for 2.4.24-um1 :



--- linux-2.4.24-um1-orig/arch/um/kernel/ksyms.c        Tue May  4 
22:10:01 2004
+++ linux-2.4.24-um1/arch/um/kernel/ksyms.c     Tue May  4 17:13:34 2004
@@ -8,6 +8,7 @@
  #include "linux/string.h"
  #include "linux/smp_lock.h"
  #include "linux/spinlock.h"
+#include "asm/irq.h"
  #include "asm/current.h"
  #include "asm/delay.h"
  #include "asm/processor.h"
@@ -44,6 +45,9 @@
  EXPORT_SYMBOL(mode_tt);
  EXPORT_SYMBOL(handle_page_fault);

+EXPORT_SYMBOL(enable_irq);
+EXPORT_SYMBOL(disable_irq);
+
  #ifdef CONFIG_MODE_TT
  EXPORT_SYMBOL(copy_from_user_tt);
  EXPORT_SYMBOL(copy_to_user_tt);



--- linux-2.4.24-um1-orig/include/asm-um/irq.h  Tue May  4 22:10:01 2004
+++ linux-2.4.24-um1/include/asm-um/irq.h       Tue May  4 17:19:20 2004
@@ -19,4 +19,7 @@
  #define LAST_IRQ XTERM_IRQ
  #define NR_IRQS (LAST_IRQ + 1)

+extern void enable_irq (unsigned int);
+extern void disable_irq (unsigned int);
+
  #endif


-- 
				Vincent Guffens
				PhD Student UCL/CESAME
				tel:   +32 10 47 80 30
Value your freedom, or you will lose it, teaches history.
"Don't bother us with politics," respond those who don't want to learn.
	      	-- Richard M. Stallman



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-04 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04 22:55 [uml-devel] missing symbols in ksyms Vincent Guffens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox