From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Alejandro Bonilla <abonilla@linuxwireless.org>
Cc: Robert Love <rml@novell.com>, Greg KH <greg@kroah.com>,
linux-kernel@vger.kernel.org
Subject: Re: Kernel Badness 2.6.14-Git
Date: Tue, 1 Nov 2005 11:38:51 -0500 [thread overview]
Message-ID: <d120d5000511010838j2013f29et3d48d891e5ea8dad@mail.gmail.com> (raw)
In-Reply-To: <20051101144509.M10192@linuxwireless.org>
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
On 11/1/05, Alejandro Bonilla <abonilla@linuxwireless.org> wrote:
> On Tue, 01 Nov 2005 09:11:57 -0500, Robert Love wrote
> > On Tue, 2005-11-01 at 00:14 -0800, Greg KH wrote:
> >
> > > I don't have a problem with this, try it out and see what breaks :)
> >
> > I don't mind moving the driver (as Greg suggested earlier) if needed,
> > but if Dmitry's idea to move input.o works, even better.
> >
>
> I can try the suggested solution if I'm told how to. ;-)
>
Could you try the attached (I did compile it but didn't try to boot).
--
Dmitry
[-- Attachment #2: input-move-core-earlier.patch --]
[-- Type: application/octet-stream, Size: 1352 bytes --]
Input: register input core earlier
Now that input core is integrated with sysfs input class should
be fully registered before anyone tries to use it. Move input.o
to the top of the drivers/Makefile while leaving the rest of
the input system in the old place.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
drivers/Makefile | 4 ++++
drivers/input/Makefile | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
Index: linux/drivers/Makefile
===================================================================
--- linux.orig/drivers/Makefile
+++ linux/drivers/Makefile
@@ -5,6 +5,10 @@
# Rewritten to use lists instead of if-statements.
#
+# we need input core early so input class is registered before anyone
+# tries to use it.
+obj-$(CONFIG_INPUT) += input/input.o
+
obj-$(CONFIG_PCI) += pci/ usb/
obj-$(CONFIG_PARISC) += parisc/
obj-y += video/
Index: linux/drivers/input/Makefile
===================================================================
--- linux.orig/drivers/input/Makefile
+++ linux/drivers/input/Makefile
@@ -4,7 +4,8 @@
# Each configuration option enables a list of files.
-obj-$(CONFIG_INPUT) += input.o
+# note that input.o is registered early from drivers/Makefile
+
obj-$(CONFIG_INPUT_MOUSEDEV) += mousedev.o
obj-$(CONFIG_INPUT_JOYDEV) += joydev.o
obj-$(CONFIG_INPUT_EVDEV) += evdev.o
next prev parent reply other threads:[~2005-11-01 16:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-29 0:18 Alejandro Bonilla Beeche
2005-10-29 3:17 ` Greg KH
2005-11-01 3:21 ` Dmitry Torokhov
2005-11-01 7:35 ` Greg KH
2005-11-01 7:58 ` Dmitry Torokhov
2005-11-01 8:14 ` Greg KH
2005-11-01 14:11 ` Robert Love
2005-11-01 14:45 ` Alejandro Bonilla
2005-11-01 16:38 ` Dmitry Torokhov [this message]
2005-11-01 17:22 ` Alejandro Bonilla
2005-11-01 18:00 ` Dmitry Torokhov
2005-11-03 4:37 ` Dmitry Torokhov
2005-11-01 15:21 ` Bill Davidsen
2005-11-01 15:28 ` Dmitry Torokhov
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=d120d5000511010838j2013f29et3d48d891e5ea8dad@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=abonilla@linuxwireless.org \
--cc=dtor_core@ameritech.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@novell.com \
/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
Powered by JetHome