* [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling
@ 2014-08-29 16:14 Geert Uytterhoeven
2014-08-31 9:07 ` Michael Schmitz
2015-01-13 8:48 ` Geert Uytterhoeven
0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2014-08-29 16:14 UTC (permalink / raw)
To: Michael Schmitz; +Cc: linux-m68k, linux-input, linux-kernel, Geert Uytterhoeven
If CONFIG_VT=n:
arch/m68k/atari/built-in.o: In function `atari_keyboard_interrupt':
atakeyb.c:(.text+0x1846): undefined reference to `keyboard_tasklet'
atakeyb.c:(.text+0x1852): undefined reference to `keyboard_tasklet'
I think the keyboard_tasklet scheduling is no longer needed, as I
believe it's handled by drivers/tty/vt/keyboard.c based on events
received from the input subsystem. So just remove it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
Not tested on real hardware. ARAnyM doesn't have keyboard LEDs.
arch/m68k/atari/atakeyb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c
index 95022b04b62d..1e2be1d34635 100644
--- a/arch/m68k/atari/atakeyb.c
+++ b/arch/m68k/atari/atakeyb.c
@@ -170,7 +170,6 @@ repeat:
if (acia_stat & ACIA_RDRF) {
/* received a character */
scancode = acia.key_data; /* get it or reset the ACIA, I'll get it! */
- tasklet_schedule(&keyboard_tasklet);
interpret_scancode:
switch (kb_state.state) {
case KEYBOARD:
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling
2014-08-29 16:14 [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling Geert Uytterhoeven
@ 2014-08-31 9:07 ` Michael Schmitz
2014-08-31 9:16 ` Geert Uytterhoeven
2015-01-13 8:48 ` Geert Uytterhoeven
1 sibling, 1 reply; 5+ messages in thread
From: Michael Schmitz @ 2014-08-31 9:07 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-m68k, linux-input, linux-kernel
Hi Geert
> If CONFIG_VT=n:
>
> arch/m68k/atari/built-in.o: In function `atari_keyboard_interrupt':
> atakeyb.c:(.text+0x1846): undefined reference to `keyboard_tasklet'
> atakeyb.c:(.text+0x1852): undefined reference to `keyboard_tasklet'
>
Has keyboard_tasklet gone for good, or just been conditionalized on
CONFIG_VT?
> I think the keyboard_tasklet scheduling is no longer needed, as I
> believe it's handled by drivers/tty/vt/keyboard.c based on events
> received from the input subsystem. So just remove it.
>
I'd like to test this on real hardware (though ARAnyM does emulate the
keyboard ACIA IIRC - if you had a working keyboard there I should find
no different),
Cheers,
Michael
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> Not tested on real hardware. ARAnyM doesn't have keyboard LEDs.
>
> arch/m68k/atari/atakeyb.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c
> index 95022b04b62d..1e2be1d34635 100644
> --- a/arch/m68k/atari/atakeyb.c
> +++ b/arch/m68k/atari/atakeyb.c
> @@ -170,7 +170,6 @@ repeat:
> if (acia_stat & ACIA_RDRF) {
> /* received a character */
> scancode = acia.key_data; /* get it or reset the ACIA, I'll get it! */
> - tasklet_schedule(&keyboard_tasklet);
> interpret_scancode:
> switch (kb_state.state) {
> case KEYBOARD:
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling
2014-08-31 9:07 ` Michael Schmitz
@ 2014-08-31 9:16 ` Geert Uytterhoeven
2015-01-11 10:12 ` Geert Uytterhoeven
0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2014-08-31 9:16 UTC (permalink / raw)
To: Michael Schmitz
Cc: linux-m68k, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org
Hi Michael,
On Sun, Aug 31, 2014 at 11:07 AM, Michael Schmitz <schmitzmic@gmail.com> wrote:
>> If CONFIG_VT=n:
>>
>> arch/m68k/atari/built-in.o: In function `atari_keyboard_interrupt':
>> atakeyb.c:(.text+0x1846): undefined reference to `keyboard_tasklet'
>> atakeyb.c:(.text+0x1852): undefined reference to `keyboard_tasklet'
>
> Has keyboard_tasklet gone for good, or just been conditionalized on
> CONFIG_VT?
Conditionalized. It's in drivers/tty/vt/keyboard.c.
Note that this was from a randconfig build.
>> I think the keyboard_tasklet scheduling is no longer needed, as I
>> believe it's handled by drivers/tty/vt/keyboard.c based on events
>> received from the input subsystem. So just remove it.
>
> I'd like to test this on real hardware (though ARAnyM does emulate the
> keyboard ACIA IIRC - if you had a working keyboard there I should find no
> different),
Keyboard was still working on ARAnyM.
But AFAICU, the keyboard_tasklet is used for the LED state only.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling
2014-08-31 9:16 ` Geert Uytterhoeven
@ 2015-01-11 10:12 ` Geert Uytterhoeven
0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-01-11 10:12 UTC (permalink / raw)
To: Michael Schmitz
Cc: linux-m68k, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org
Hi Michael,
On Sun, Aug 31, 2014 at 11:16 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Sun, Aug 31, 2014 at 11:07 AM, Michael Schmitz <schmitzmic@gmail.com> wrote:
>>> If CONFIG_VT=n:
>>>
>>> arch/m68k/atari/built-in.o: In function `atari_keyboard_interrupt':
>>> atakeyb.c:(.text+0x1846): undefined reference to `keyboard_tasklet'
>>> atakeyb.c:(.text+0x1852): undefined reference to `keyboard_tasklet'
>>
>> Has keyboard_tasklet gone for good, or just been conditionalized on
>> CONFIG_VT?
>
> Conditionalized. It's in drivers/tty/vt/keyboard.c.
> Note that this was from a randconfig build.
>
>>> I think the keyboard_tasklet scheduling is no longer needed, as I
>>> believe it's handled by drivers/tty/vt/keyboard.c based on events
>>> received from the input subsystem. So just remove it.
>>
>> I'd like to test this on real hardware (though ARAnyM does emulate the
>> keyboard ACIA IIRC - if you had a working keyboard there I should find no
>> different),
>
> Keyboard was still working on ARAnyM.
> But AFAICU, the keyboard_tasklet is used for the LED state only.
Did you manage to test this on real hardware?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling
2014-08-29 16:14 [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling Geert Uytterhoeven
2014-08-31 9:07 ` Michael Schmitz
@ 2015-01-13 8:48 ` Geert Uytterhoeven
1 sibling, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-01-13 8:48 UTC (permalink / raw)
To: Michael Schmitz
Cc: linux-m68k, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org, Geert Uytterhoeven
On Fri, Aug 29, 2014 at 6:14 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> If CONFIG_VT=n:
>
> arch/m68k/atari/built-in.o: In function `atari_keyboard_interrupt':
> atakeyb.c:(.text+0x1846): undefined reference to `keyboard_tasklet'
> atakeyb.c:(.text+0x1852): undefined reference to `keyboard_tasklet'
>
> I think the keyboard_tasklet scheduling is no longer needed, as I
> believe it's handled by drivers/tty/vt/keyboard.c based on events
> received from the input subsystem. So just remove it.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Applied with Michael's Tested-by, and queued for 3.20.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-13 8:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-29 16:14 [PATCH] m68k/atari: Remove obsolete keyboard_tasklet scheduling Geert Uytterhoeven
2014-08-31 9:07 ` Michael Schmitz
2014-08-31 9:16 ` Geert Uytterhoeven
2015-01-11 10:12 ` Geert Uytterhoeven
2015-01-13 8:48 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).