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] [day] [month] [year] [list]
Message-Id: <20110120160716.d65c308b.akpm@linux-foundation.org>
Date:	Thu, 20 Jan 2011 16:07:16 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Mike Travis <travis@....com>
Cc:	Ingo Molnar <mingo@...e.hu>, Len Brown <len.brown@...el.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Jack Steiner <steiner@....com>, Robin Holt <holt@....com>,
	Lori Gilbertson <loriann@....com>, x86@...nel.org,
	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [PATCH 1/6] printk: Allocate kernel log buffer earlier

On Thu, 20 Jan 2011 15:55:30 -0800
Mike Travis <travis@....com> wrote:

> If I have:
> 
> void __init setup(void)
> {
> 	static int data;
> ...
> 
> Does data automatically get put into the initdata section?  Or does
> it need the __initdata tag as well?

It needs __initdata.  gcc doesn't know that __init and __initdata are
related things - as far as the compiler is concerned, they're all just
sections.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ