All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] [patch] 2.6 uml & CONFIG_SMP fix
@ 2004-02-05  0:26 Josef 'Jeff' Sipek
  2004-02-06 19:51 ` BlaisorBlade
  2004-02-12 18:53 ` [uml-devel] " Jeff Dike
  0 siblings, 2 replies; 4+ messages in thread
From: Josef 'Jeff' Sipek @ 2004-02-05  0:26 UTC (permalink / raw)
  To: jdike; +Cc: user-mode-linux-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
	yesterday, I finally got around to fixing the code. Right now, it
compiles, but there are some warnings that I didn't take a look at.
This patch makes it compile with CONFIG_SMP, nothing more.
I tested the resulting binary, and it works well in tt (I did NOT test
skas.) 

You should be able to pull the patch from
http://kernel.bkbits.net:14690/jeffpc/uml-smp/ (I think that pulling via web
is not working, I'll check later.)

Jeff.

diff -Nru a/arch/um/Makefile b/arch/um/Makefile
- --- a/arch/um/Makefile	Tue Feb  3 21:48:38 2004
+++ b/arch/um/Makefile	Tue Feb  3 21:48:38 2004
@@ -170,7 +170,7 @@
 	ln -sf $(basename $(notdir $@))-$(SUBARCH)$(suffix $@) $(notdir $@)
 
 include/asm-um/arch:
- -	cd $(TOPDIR)/include/asm-um && ln -sf ../asm-$(SUBARCH) arch
+	cd $(TOPDIR)/include/asm-um && ln -sf ../asm-$(SUBARCH) arch && ln -sf arch/spinlock.h
 
 $(ARCH_DIR)/include/sysdep:
 	cd $(ARCH_DIR)/include && ln -sf sysdep-$(SUBARCH) sysdep
diff -Nru a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c
- --- a/arch/um/kernel/irq.c	Tue Feb  3 21:48:38 2004
+++ b/arch/um/kernel/irq.c	Tue Feb  3 21:48:38 2004
@@ -584,7 +584,7 @@
 					unsigned long count, void *data)
 {
 	int irq = (long) data, full_count = count, err;
- -	cpumask_t new_value;
+	cpumask_t new_value, tmp;
 
 	if (!irq_desc[irq].handler->set_affinity)
 		return -EIO;


- -- 
"Intellectuals solve problems; geniuses prevent them"
		- Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIY28wFP0+seVj/4RAr8dAKCrYt3JZg+cFUIoKGVNpgxX9pGuqwCfUFsM
vsjhr3DJcTBwzxkMwFNR+OU=
=GXuF
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2004-02-14  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-05  0:26 [uml-devel] [patch] 2.6 uml & CONFIG_SMP fix Josef 'Jeff' Sipek
2004-02-06 19:51 ` BlaisorBlade
2004-02-12 18:53 ` [uml-devel] " Jeff Dike
2004-02-14  2:15   ` Jeff Sipek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.