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:	Wed, 26 Jan 2011 20:31:27 -0700
From:	Grant Likely <grant.likely@...retlab.ca>
To:	Milton Miller <miltonm@....com>
Cc:	devicetree-discuss@...ts.ozlabs.org, jeremy.kerr@...onical.com,
	linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.orga, nicolas.pitre@...aro.org
Subject: Re: [RFC,1/5] arm/dt: Add dt machine definition

On Wed, Jan 26, 2011 at 11:27 AM, Milton Miller <miltonm@....com> wrote:
> On Wed, 26 Jan 2011 about 04:44:06 -0000, Grant Likely wrote:
>>
>> Signed-off-by: Grant Likely <grant.likely@...retlab.ca>
>
> needs a description ...

oops

>>
>> ---
>> arch/arm/include/asm/mach/arch.h |    9 +++++++++
>>  1 files changed, 9 insertions(+), 0 deletions(-)
>>
>>
>>
>> +#define MACH_TYPE_DT 0xffffffff
>> +
>> +#define DT_MACHINE_START(_name, _namestr)            \
>> +static const struct machine_desc __mach_desc_##_name \
>> + __used                                                      \
>> + __attribute__((__section__(".arch.info.init"))) = { \
>
> linux/compiler.h defines __section for this

For commonality, I duplicated what was already done for #define
MACHINE_START in this same file.  However, I'm not even entirely sure
that I'm going to keep this hunk around.  With some of the recent
changes to the arm-dt patches, a special DT machine id of 0xffffffff
is no longer needed.  This patch may get dropped in a future posting
of this series.

g.

>
>> +     .nr             = MACH_TYPE_DT,                 \
>> +     .name           = _namestr,
>> +
>>  #endif
>
> milton
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
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