diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-02-26 09:44:55 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-12 10:32:38 -0700 |
commit | a3ea6c14ec93e67c08de43bdf8ce7d701835152f (patch) | |
tree | 390302f401ad3a601b0563a1a3c178a6ab4c3143 /arch/s390/mm/fault.c | |
parent | 499f286dc02cde6b668e2d757dfe100cb0c43445 (diff) | |
download | kernel_samsung_smdk4412-a3ea6c14ec93e67c08de43bdf8ce7d701835152f.zip kernel_samsung_smdk4412-a3ea6c14ec93e67c08de43bdf8ce7d701835152f.tar.gz kernel_samsung_smdk4412-a3ea6c14ec93e67c08de43bdf8ce7d701835152f.tar.bz2 |
Fix autofs compile without CONFIG_COMPAT
commit 3c761ea05a8900a907f32b628611873f6bef24b2 upstream.
The autofs compat handling fix caused a compile failure when
CONFIG_COMPAT isn't defined.
Instead of adding random #ifdef'fery in autofs, let's just make the
compat helpers earlier to use: without CONFIG_COMPAT, is_compat_task()
just hardcodes to zero.
We could probably do something similar for a number of other cases where
we have #ifdef's in code, but this is the low-hanging fruit.
Reported-and-tested-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/mm/fault.c')
0 files changed, 0 insertions, 0 deletions