diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-02-26 18:44:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-02-26 18:44:55 +0100 |
commit | 3c761ea05a8900a907f32b628611873f6bef24b2 (patch) | |
tree | 0c83f1c535deb00c368bba6a5adfeba7a5299327 /drivers/pps | |
parent | Linux 3.3-rc5 (diff) | |
download | linux-3c761ea05a8900a907f32b628611873f6bef24b2.tar.xz linux-3c761ea05a8900a907f32b628611873f6bef24b2.zip |
Fix autofs compile without CONFIG_COMPAT
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>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions