ima changes to shmem breaks !CONFIG_SHMEM

From: Mike Frysinger
Date: Mon Feb 09 2009 - 11:31:04 EST


commit 1df9f0a73178718969ae47d813b8e7aab2cf073c broke default building
for Blackfin systems:
CC mm/shmem.o
mm/shmem.c: In function 'shmem_zero_setup':
mm/shmem.c:2670: error: implicit declaration of function 'ima_shm_check'
make[1]: *** [mm/shmem.o] Error 1

that's because the ima.h include was added behind the CONFIG_SHMEM
markings rather than everywhere, just like the function is used.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/