public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c842a3a
)
mtx: now the serial is sorted remove the polling
author
Alan Cox
<alan@linux.intel.com>
Thu, 18 Dec 2014 00:48:23 +0000
(
00:48
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 18 Dec 2014 00:48:23 +0000
(
00:48
+0000)
Kernel/platform-mtx/main.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-mtx/main.c
b/Kernel/platform-mtx/main.c
index
6d280ce
..
5a13723
100644
(file)
--- a/
Kernel/platform-mtx/main.c
+++ b/
Kernel/platform-mtx/main.c
@@
-17,15
+17,11
@@
void pagemap_init(void)
pagemap_add(i);
}
-/* On idle we spin checking for the terminals. Gives us more responsiveness
- for the polled ports. We don't need this on MTX, but we probably do for
- MEMU */
-
void platform_idle(void)
{
- irqflags_t irq = di();
- tty_interrupt();
-
irqrestore(irq)
;
+ __asm
+ halt
+
__endasm
;
}
void platform_interrupt(void)