Messages in this thread |  | | Subject | Re: [GIT PULL] headers_check fixes | From | Jaswinder Singh Rajput <> | Date | Sun, 07 Jun 2009 15:45:16 +0530 |
| |
Hello Russell,
On Sat, 2009-06-06 at 22:47 +0100, Russell King wrote: > Right, below is a patch to unifdef.c which allows it to work out if > an #if expression always evaluates true or false for symbols which > are being undefined/always defined. > > The patch is slightly more complicated than I'd hoped because unifdef > needs to see lines fully evaluated - doing otherwise causes it to > mark the line as "dirty" and copy it over no matter what. > > What follows this email is the diff of what effect it has on the > headers copied over - as can be seen, all resulting changes are of > net benefit. > > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> >
This patch not only solve ARM's hwcap.h but also fixes some other arch header files.
Great work, thanks. -- JSR
|  |