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: <1178534593.27286.28.camel@fuzzie.sanpeople.com>
Date:	07 May 2007 12:43:13 +0200
From:	Andrew Victor <andrew@...people.com>
To:	Haavard Skinnemoen <hskinnemoen@...el.com>
Cc:	akpm@...ux-foundation.org, David Brownell <david-b@...bell.net>,
	Nicolas Ferre <nicolas.ferre@....atmel.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] Use common cpu_is_xxx() macros on AT91 and AVR32


> Several drivers shared between AT91 and AVR32 chips use cpu_is_xxx()
> to handle CPU-specific differences. Currently, such code needs to be
> inside #ifdef CONFIG_ARCH_AT91 because the macros don't exist on AVR32.
> 
> By defining the same macros on both AT91 and AVR32, these #ifdefs can
> be eliminated. Since the macros will evaluate to a constant value for
> CPUs that aren't supported by the current architecture, any code that
> is only needed on AT91 will be optimized away on AVR32 and vice versa.
> 
> Signed-off-by: Haavard Skinnemoen <hskinnemoen@...el.com>

Acked-by: Andrew Victor <andrew@...people.com>



-
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