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]
Message-ID: <CAFTL4hzcJz1GgG8g0=CBy07UAQTYm-_YnWCJD_eEobs4LLLoGA@mail.gmail.com>
Date:	Tue, 16 Oct 2012 00:18:05 +0200
From:	Frederic Weisbecker <fweisbec@...il.com>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	Steven Rostedt <rostedt@...dmis.org>,
	Catalin Marinas <catalin.marinas@....com>,
	LKML <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...nel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	David Howells <dhowells@...hat.com>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Re: [RFC PATCH 1/5] irq_work: Move irq_work_raise()
 declaration/default definition to arch headers

2012/10/15 Arnd Bergmann <arnd@...db.de>:
> On Monday 15 October 2012, Steven Rostedt wrote:
>> On Mon, 2012-10-15 at 22:23 +0200, Frederic Weisbecker wrote:
>> > 2012/10/15 Steven Rostedt <rostedt@...dmis.org>:
>> > > On Mon, 2012-10-15 at 17:11 +0100, Catalin Marinas wrote:
>> > > BTW, is there any rational reason that the include path lookup doesn't
>> > > just check for the files in include/asm-generic after looking in
>> > > arch/*/include/asm?
>> > >
>> > > Really, the best way would be just to add the default asm files into
>> > > include/asm-generic and be done with it. I hate the fact that we need to
>> > > touch every arch for every generic default file.
>> >
>> > Agreed. I'm including Arnd in the conversation.
>>
>> As David Howells is doing user space header work, I'll include him too.
>> Maybe someone can shed some light onto this.
>>
>
> A number of people have expressed the wish to do this through Makefile magic, but
> so far nobody has been able to come up with the right incantation.
>
> I've spent a day trying to figure it out, and I think Mark Brown tried some of
> the same things. It's probably not all that hard for someone who is more familiar
> with the Kbuild internals.

This seems to do the trick:

(It's the diff result of ln -s asm-generic include/asm)

diff --git a/include/asm b/include/asm
new file mode 120000
index 0000000..86e8787
--- /dev/null
+++ b/include/asm
@@ -0,0 +1 @@
+asm-generic/
--
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