I reworked Gennady's umid OS abstraction patch because the code shouldn't
be moved entirely to os. As it turns out, I moved most of it anyway. This
patch is the minimal one needed to move the code and have it work.
It turns out that the concept of the umid is OS-independent, but
almost everything
This patch cleans up the umid code:
The only_if_set argument to get_umid is gone.
get_umid returns an empty string rather than NULL if there is
no umid.
umid_is_random is gone since its users went away.
Some printfs were turned into printks because the code runs
late
Code cleanup - unregister_winch and winch_cleanup had some duplicate code.
This is now abstracted out into free_winch.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/line.c
===
--- linux-2.6.15.orig/
Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/include/choose-mode.h
===
--- linux-2.6.15.orig/arch/um/include/choose-mode.h 2005-
The stack command now sends the printk output back to the mconsole
client. This is done by registering a special console for the
mconsole driver. This receives all printk output. Normally, it is
ignored, but when a stack command is issued, any printk output will
be sent back to the client.
Thi
This is needed for the console output patch, since we have a
possibly non-NULL-terminated string there. So, the new interface
takes a string and a length, and the old interface calls strlen on
its string and calls the new interface with the length.
There's also a bit of whitespace cleanup.
Signe
Fix up some bogus spacing in the mconsole driver. Also delete the
emacs formatting comment at the end.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/mconsole_kern.c
===
--- linux-2.6.15.orig/arch/u
Free the network IRQ when closing down the network devices at shutdown.
Delete the device from the opened devices list on close.
These prevent an -EBADF when later disabling SIGIO on all extant
descriptors and a complaint from free_irq about freeing the IRQ twice.
Signed-off-by: Jeff Dike <[EMAIL
Pass sysrq output back to the mconsole client using the mechanism
introduced for stack output.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.15/arch/um/drivers/mconsole_kern.c
===
--- linux-2.6.15.orig/arch/um/drivers
Jeff Dike <[EMAIL PROTECTED]> wrote:
>
> Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled.
>
> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
>
> Index: linux-2.6.15/arch/um/include/choose-mode.h
> ===
> --- linu
On Wed, Jan 04, 2006 at 03:24:33PM -0800, Andrew Morton wrote:
> Jeff Dike <[EMAIL PROTECTED]> wrote:
> >
> > Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled.
> Is there no sane way to prevent this situation within Kconfig?
I tried. The best I managed was to get *config to
confirm 414904
>Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled.
>
What would happen if both were disabled?
Say, if the host system does not have SKAS and I did not want any
tracing/debugging stuff?
Jan Engelhardt
--
---
This SF.ne
13 matches
Mail list logo