<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12/12/2012 07:51 PM, Cyrill Gorcunov
wrote:<br>
</div>
<blockquote cite="mid:20121212155158.GR9292@moon" type="cite">
<blockquote type="cite" style="color: #000000;">
<pre wrap="">An overall note on the file names -- it's ugly, when a file name is arch/xxx/arch-yyy.h.
<span class="moz-txt-citetags">> </span>Please, rework the arch-dependent headers model the way it looks in the Linux kernel.
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>I.e.
<span class="moz-txt-citetags">> </span>- files look like arch/<arch><i class="moz-txt-slash"><span class="moz-txt-tag">/</span>include/asm<span class="moz-txt-tag">/</span></i><file>.h
<span class="moz-txt-citetags">> </span>- everyone who need arch-specific header does #include <asm/<file>.h>
<span class="moz-txt-citetags">> </span>- the -I arch/<arch/include/ option is added by builder
</pre>
</blockquote>
<pre wrap="">Yes, I was about to propose the same. Everything arch-dependant should go
to arch/x86/include and/or arch/arm/include.</pre>
</blockquote>
<br>
Is the proposal adopted? If not I'd like to hear your comments about
the following proposal:<br>
I'd like to introduce intermediate include folder into
arch/<arch>/include/cr in order to avoid<br>
collisions between arch-dependent, arch-independent and system
headers: some arch-dependent<br>
headers (eg. atomic.h, types.h) have very generic name and they
collide with system header names.<br>
<pre class="moz-signature" cols="72">--
Sincerely yours,
Alexander Kartashov
Intern
Core team
<a class="moz-txt-link-abbreviated" href="http://www.parallels.com">www.parallels.com</a>
Skype: aleksandr.kartashov
Email: <a class="moz-txt-link-abbreviated" href="mailto:alekskartashov@parallels.com">alekskartashov@parallels.com</a></pre>
</body>
</html>