mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel/stop_machine.c: whose code is it?
@ 2006-08-31 12:32 Pavel Machek
  2006-08-31 13:17 ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2006-08-31 12:32 UTC (permalink / raw)
  To: Andrew Morton, kernel list


Would kernel/stop_machine.c author please step up?

Signed-off-by: Pavel Machek <pavel@suse.cz>

(but I guess it would be better if author added signature to his work)

diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index 51cacd1..ec0592c 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright A.N.Onymous
+ *
+ * GPLv2
+ */
+
 #include <linux/stop_machine.h>
 #include <linux/kthread.h>
 #include <linux/sched.h>
@@ -132,8 +138,7 @@ static void restart_machine(void)
 	preempt_enable_no_resched();
 }
 
-struct stop_machine_data
-{
+struct stop_machine_data {
 	int (*fn)(void *);
 	void *data;
 	struct completion done;

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel/stop_machine.c: whose code is it?
  2006-08-31 12:32 kernel/stop_machine.c: whose code is it? Pavel Machek
@ 2006-08-31 13:17 ` Jiri Kosina
  2006-09-03  2:06   ` Rusty Russell
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2006-08-31 13:17 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andrew Morton, kernel list, Rusty Russell

On Thu, 31 Aug 2006, Pavel Machek wrote:

> Would kernel/stop_machine.c author please step up?

IMHO it's Rusty Russell (added to CC).

-- 
JiKos.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel/stop_machine.c: whose code is it?
  2006-08-31 13:17 ` Jiri Kosina
@ 2006-09-03  2:06   ` Rusty Russell
  2006-09-03  6:34     ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: Rusty Russell @ 2006-09-03  2:06 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Pavel Machek, Andrew Morton, kernel list

On Thu, 2006-08-31 at 15:17 +0200, Jiri Kosina wrote:
> On Thu, 31 Aug 2006, Pavel Machek wrote:
> 
> > Would kernel/stop_machine.c author please step up?
> 
> IMHO it's Rusty Russell (added to CC).

Yep.  Not sure the obsession with copyright on every trivial piece of
code is healthy, but if it keeps you happy (I had to look back: this
code was extracted from the module.c code in 2005).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/dontdiff --minimal linux-2.6.18-rc5-git4/kernel/stop_machine.c tmp/kernel/stop_machine.c
--- linux-2.6.18-rc5-git4/kernel/stop_machine.c	2006-09-01 09:49:11.000000000 +1000
+++ tmp/kernel/stop_machine.c	2006-09-03 11:55:08.000000000 +1000
@@ -1,3 +1,6 @@
+/* Copyright 2005 Rusty Russell rusty@rustcorp.com.au IBM Corporation.
+ * GPL v2 and any later version.
+ */
 #include <linux/stop_machine.h>
 #include <linux/kthread.h>
 #include <linux/sched.h>

-- 
Help! Save Australia from the worst of the DMCA: http://linux.org.au/law


-- 
VGER BF report: U 0.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel/stop_machine.c: whose code is it?
  2006-09-03  2:06   ` Rusty Russell
@ 2006-09-03  6:34     ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2006-09-03  6:34 UTC (permalink / raw)
  To: Rusty Russell; +Cc: Jiri Kosina, Andrew Morton, kernel list

Hi!

> > > Would kernel/stop_machine.c author please step up?
> > 
> > IMHO it's Rusty Russell (added to CC).
> 
> Yep.  Not sure the obsession with copyright on every trivial piece of
> code is healthy, but if it keeps you happy (I had to look back: this
> code was extracted from the module.c code in 2005).

I'd say it is definitely unhealthy, but knowing whose area of
expertise particular file is is sometimes helpful.

Thanks!
							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

-- 
VGER BF report: U 0.500026

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-03  6:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-31 12:32 kernel/stop_machine.c: whose code is it? Pavel Machek
2006-08-31 13:17 ` Jiri Kosina
2006-09-03  2:06   ` Rusty Russell
2006-09-03  6:34     ` Pavel Machek

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

Powered by JetHome