ks you all for helping me, to make this patch as save as possible.
Greetings,
Stefani
-----patch for 2.4.0 disable printk and panic -
diff -u --recursive --new-file linux/CREDITS linux.noprintk/CREDITS
--- linux/CREDITS Sun Dec 31 18:27:57 2000
+++ linux.noprintk/CREDITS Fri Jan 2
Am Montag, 29. Januar 2001 18:40 schrieb James Simmons:
> > You are right... this patch make no sense on a computer system with human
> > interactions. But think on tiny hidden computers, like in a dishwasher or
> > a traffic light. This computer are standalone, if it crash, then it will
> > be re
> You are right... this patch make no sense on a computer system with human
> interactions. But think on tiny hidden computers, like in a dishwasher or a
> traffic light. This computer are standalone, if it crash, then it will be
> rebooted.
> Nobody will attach a terminal to this kind of comp
Andrew Morton wrote:
>
> Stefani Seibold wrote:
> >
> > Second, i had change the macro so it calls now a inline funciton
> > printk_inline which always return 0. So it should be now compatibel to the
> > standard printk funciton.
>
> A #define is better.
>
> You see, even if printk is a null in
Stefani Seibold wrote:
> The inline function is the best choice, because it it full compatible to old
> old printk. No side effects are expeted.
What is the difference?
I can't think of any difference between:
#define printk(format, args...) ((int) 0)
and:
static inline int printk_inline
On Sun, 28 Jan 2001, Stefani Seibold wrote:
> this is now the third try to release my patch for disabling all kernel
> messages. It is usefull on deep embedded systems with no human interactions
> --- linux/arch/s390/config.in Thu Nov 16 21:51:28 2000
> +++ linux.noprintk/arch/s390/config.in
Stefani Seibold wrote:
>
> Hi guys,
>
> this is now the third try to release my patch for disabling all kernel
> messages. It is usefull on deep embedded systems with no human interactions
> and for rescue discs where the diskspace is always to less.
>
> This patch has now the following feature
em are only used for output by
printk or panic, which will be now removed by optimizing.
Greetings,
Stefani
-patch for 2.4.0 disable printk and panic -
diff -u --recursive --new-file linux/CREDITS linux.noprintk/CREDITS
--- linux/CREDITS Sun Dec 31 18:27:57 2000
+++ linux.noprintk/CR
Hi Andrew,
thanks for your feddback, but... you are not right. Because i override the
printk with a macro thats call a inline function printk_inline with no
paramters and only return 0. So the compiler sill removes the paramters.
If you try this patch, you will see, that none of the parameters
Stefani Seibold wrote:
>
> Second, i had change the macro so it calls now a inline funciton
> printk_inline which always return 0. So it should be now compatibel to the
> standard printk funciton.
A #define is better.
You see, even if printk is a null inline function,
printk("foo");
w
return 0. So it should be now compatibel to the
standard printk funciton.
I hope you like the patch...
Greetings,
Stefani
-patch for 2.4.0 disable printk-
diff -u --recursive --new-file linux/Documentation/Configure.help
linux.noprintk/Documentation/Configure.help
--- linux
You are right... this patch make no sense on a computer system with human
interactions. But think on tiny hidden computers, like in a dishwasher or a
traffic light. This computer are standalone, if it crash, then it will be
rebooted.
Nobody will attach a terminal to this kind of computer, nobod
Stefani Seibold wrote:
>
> Hi Linus,
> Hi Alan,
> Hi everybody,
>
> this kernel patch allows to disable all printk messages, by overloading the
> printk function with a dummy printk macro.
>
> This patch is usefull for embedded systems, where the hardware never changes
> and normaly no textcons
On Fri, Jan 26, 2001 at 09:46:02PM +0100, Stefani Seibold wrote:
> Hi Linus,
> Hi Alan,
> Hi everybody,
>
> this kernel patch allows to disable all printk messages, by
> overloading the printk function with a dummy printk macro.
>
> This patch is usefull for embedded systems, where the hardware
printk messages.
Greetings,
Stefani
BTW: this is my first try to submit a kernel patch
-patch for 2.4.0 disable printk-
diff -u --recursive --new-file linux/Documentation/Configure.help
linux.noprintk/Documentation/Configure.help
--- linux/Documentation/Configure.help Thu Jan 4 22:00:55
printk messages.
Greetings,
Stefani
BTW: this is my first try to submit a kernel patch
-patch for 2.4.0 disable printk ---
diff -u --recursive --new-file linux/Documentation/Configure.help
linux.noprintk/Documentation/Configure.help
--- linux/Documentation/Configure.help Thu Jan 4 22:00
16 matches
Mail list logo