diff options
author | Justin <justin.a.rogers@gmail.com> | 2013-03-25 18:06:02 -0500 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2013-03-26 10:53:49 +0000 |
commit | 88234890ea8fd8f60101c0b9690f1ea756cc3c5b (patch) | |
tree | 8693cc089c9608442a871037d2a576f4dd104660 /drivers/media/video/samsung/mali/common/mali_kernel_common.h | |
parent | cba07183cc76b06a5ef2b20eef70d203dc5bcd5d (diff) | |
download | kernel_samsung_smdk4412-88234890ea8fd8f60101c0b9690f1ea756cc3c5b.zip kernel_samsung_smdk4412-88234890ea8fd8f60101c0b9690f1ea756cc3c5b.tar.gz kernel_samsung_smdk4412-88234890ea8fd8f60101c0b9690f1ea756cc3c5b.tar.bz2 |
smdk4412: mali: merge with r3p1 driver from note8
Change-Id: I75db69081b986ec326fe347f73aa3655648e6b81
Diffstat (limited to 'drivers/media/video/samsung/mali/common/mali_kernel_common.h')
-rw-r--r-- | drivers/media/video/samsung/mali/common/mali_kernel_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/samsung/mali/common/mali_kernel_common.h b/drivers/media/video/samsung/mali/common/mali_kernel_common.h index a33660b..b354f92 100644 --- a/drivers/media/video/samsung/mali/common/mali_kernel_common.h +++ b/drivers/media/video/samsung/mali/common/mali_kernel_common.h @@ -18,6 +18,16 @@ #endif #endif +/* Macro for generating a kernel panic. + * Turned on off by compile-time Makefile settings + */ +#if defined(USING_KERNEL_PANIC) +#include <linux/kernel.h> + #define MALI_PANIC(fmt, args...) panic( fmt, ## args ); +#else + #define MALI_PANIC(fmt, args...) +#endif + /* The file include several useful macros for error checking, debugging and printing. * - MALI_PRINTF(...) Do not use this function: Will be included in Release builds. * - MALI_DEBUG_PRINT(nr, (X) ) Prints the second argument if nr<=MALI_DEBUG_LEVEL. |