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]
Date:	Wed, 2 Nov 2011 09:34:40 -0700
From:	Stephen Warren <swarren@...dia.com>
To:	Peter De Schrijver <pdeschrijver@...dia.com>,
	Peter De Schrijver <pdeschrijver@...dia.com>
CC:	Colin Cross <ccross@...roid.com>, Olof Johansson <olof@...om.net>,
	Russell King <linux@....linux.org.uk>,
	"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] arm/tegra: remove unused defines

Peter De Schrijver wrote at Wednesday, November 02, 2011 9:25 AM:
> PPI_NR is never used in arch/arm/mach-tegra/irq.c. Remove it.
> 
> Signed-off-by: Peter De Schrijver <pdeschrijver@...dia.com>

Acked-by: Stephen Warren <swarren@...dia.com>

For reference, I investigated why the defines aren't used, and found:

Those defines were introduced by:

commit 460907bc26f5565aced3cf35a10e3579c671ef50
[ARM] tegra: add suspend and mirror irqs to legacy controller

3524b70ef3336a4f1351a489e83894b88106ab7c moved those defines
into legacy_irq.c (and appears to have added define NUM_ICTLRS to replace
them) and d1d8c666683cdbef18329ff8f3743ddaca8842ee moved them back.

> -#define INT_SYS_NR	(INT_GPIO_BASE - INT_PRI_BASE)
> -#define INT_SYS_SZ	(INT_SEC_BASE - INT_PRI_BASE)
> -#define PPI_NR		((INT_SYS_NR+INT_SYS_SZ-1)/INT_SYS_SZ)

-- 
nvpublic

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