From: Grant Likely Date: Thu, 6 Jun 2013 11:10:24 +0000 (+0100) Subject: irqdomain: Replace LEGACY mapping with LINEAR X-Git-Tag: v3.11-rc1~81^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bbf877d3b6b8c5991000296f40a3f0fe66fa89b;p=pandora-kernel.git irqdomain: Replace LEGACY mapping with LINEAR The LEGACY mapping unnecessarily complicates the irqdomain code and can easily be implemented with a linear mapping. By ripping it out and replacing it with the LINEAR mapping the object size of irqdomain.c shrinks by about 330 bytes (ARMv7) which offsets the additional allocation required by the linear map. It also makes it possible for current LEGACY map users to pre-allocate irq_descs for a subset of the hwirqs and dynamically allocate the rest as needed. Signed-off-by: Grant Likely Cc: Paul Mundt Cc: Benjamin Herrenschmidt Cc: Thomas Gleixner Cc: Rob Herring --- Reading git-diff-tree failed