Include <asm/a.out.h> in fs/exec.c only for Alpha.
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 16 Jun 2008 11:11:54 +0000 (12:11 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 16 Jun 2008 17:20:57 +0000 (10:20 -0700)
commit702773b16e83fcddc41e0019b8214d3c3cecedbe
treebe9fa9552f6583249b61fee0373c11e1cfab1562
parentb052beb0432616aa4dac2b167e7809feae993991
Include <asm/a.out.h> in fs/exec.c only for Alpha.

We only need it for the /sbin/loader hack for OSF/1 executables, and we
don't want to include it otherwise.

While we're at it, remove the redundant '&& CONFIG_ARCH_SUPPORTS_AOUT'
in the ifdef around that code. It's already dependent on __alpha__, and
CONFIG_ARCH_SUPPORTS_AOUT is hard-coded to 'y' there.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c