lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 17 Aug 2007 13:57:16 -0400
From:	"Mike Frysinger" <vapier.adi@...il.com>
To:	"Robin Getz" <rgetz@...ckfin.uclinux.org>
Cc:	linux-kernel@...r.kernel.org, "Gerd Hoffmann" <kraxel@...hat.com>,
	"Alan Cox" <alan@...rguk.ukuu.org.uk>,
	"Bryan Wu" <bryan.wu@...log.com>,
	"Sonic Zhang" <sonic.adi@...il.com>,
	"Andrew Morton" <akpm@...ux-foundation.org>
Subject: Re: [draft] Blackfin Early Printk implmentation

On 8/17/07, Robin Getz <rgetz@...ckfin.uclinux.org> wrote:
> +       asm("\tRETI = %0;\n"
> +           "\tRETX = %0;\n"
> +           "\tRETN = %0;\n"
> +           : : "p"(early_trap));

general note, i dont think inserting whitespace by hand in asm() is a
good thing ... i see it as whitenoise personally ...

> +int __init disable_early_printk(void)
> +{
> +       if (!early_console_initialized)
> +               return 0;
> +
> +       printk(KERN_INFO "Unregister %s%d\n", early_console_initialized->name,
> +               early_console_initialized->index);
> +       unregister_console(early_console_initialized);
> +       early_console_initialized = NULL;
> +       return 0;
> +}
> +
> +late_initcall(disable_early_printk);

i think we agreed this would be OK/good to have in common code
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists