From: "Randy.Dunlap" <rddunlap@osdl.org>
To: gregkh <greg@kroah.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] rename sys_bus_init()
Date: Mon, 1 Mar 2004 15:42:10 -0800 [thread overview]
Message-ID: <20040301154210.5958fc02.rddunlap@osdl.org> (raw)
Please apply to 2.6.current.
Thanks,
--
~Randy
// linux 2.6.4 2004.0301
desc: rename sys_bus_init() to system_bus_init() so that
it doesn't appear to be a syscall;
diffstat:=
drivers/base/init.c | 4 ++--
drivers/base/sys.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff -Naurp ./drivers/base/init.c~sysbus ./drivers/base/init.c
--- ./drivers/base/init.c~sysbus 2004-03-01 14:07:21.000000000 -0800
+++ ./drivers/base/init.c 2004-03-01 14:55:55.000000000 -0800
@@ -15,7 +15,7 @@ extern int buses_init(void);
extern int classes_init(void);
extern int firmware_init(void);
extern int platform_bus_init(void);
-extern int sys_bus_init(void);
+extern int system_bus_init(void);
extern int cpu_dev_init(void);
/**
@@ -37,6 +37,6 @@ void __init driver_init(void)
* core core pieces.
*/
platform_bus_init();
- sys_bus_init();
+ system_bus_init();
cpu_dev_init();
}
diff -Naurp ./drivers/base/sys.c~sysbus ./drivers/base/sys.c
--- ./drivers/base/sys.c~sysbus 2004-03-01 14:07:18.000000000 -0800
+++ ./drivers/base/sys.c 2004-03-01 14:55:44.000000000 -0800
@@ -384,7 +384,7 @@ int sysdev_resume(void)
}
-int __init sys_bus_init(void)
+int __init system_bus_init(void)
{
system_subsys.kset.kobj.parent = &devices_subsys.kset.kobj;
return subsystem_register(&system_subsys);
next reply other threads:[~2004-03-01 23:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-01 23:42 Randy.Dunlap [this message]
2004-03-01 23:55 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040301154210.5958fc02.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®