diff options
Diffstat (limited to 'include/asm-generic/bug.h')
-rw-r--r-- | include/asm-generic/bug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 20561a60db9c..cdafa5edea49 100644 --- a/include/asm-generic/bug.h +++ b/include/asm-generic/bug.h | |||
@@ -17,10 +17,8 @@ | |||
17 | #ifndef __ASSEMBLY__ | 17 | #ifndef __ASSEMBLY__ |
18 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
19 | 19 | ||
20 | #ifdef CONFIG_BUG | ||
21 | |||
22 | #ifdef CONFIG_GENERIC_BUG | ||
23 | struct bug_entry { | 20 | struct bug_entry { |
21 | #ifdef CONFIG_GENERIC_BUG | ||
24 | #ifndef CONFIG_GENERIC_BUG_RELATIVE_POINTERS | 22 | #ifndef CONFIG_GENERIC_BUG_RELATIVE_POINTERS |
25 | unsigned long bug_addr; | 23 | unsigned long bug_addr; |
26 | #else | 24 | #else |
@@ -35,8 +33,10 @@ struct bug_entry { | |||
35 | unsigned short line; | 33 | unsigned short line; |
36 | #endif | 34 | #endif |
37 | unsigned short flags; | 35 | unsigned short flags; |
38 | }; | ||
39 | #endif /* CONFIG_GENERIC_BUG */ | 36 | #endif /* CONFIG_GENERIC_BUG */ |
37 | }; | ||
38 | |||
39 | #ifdef CONFIG_BUG | ||
40 | 40 | ||
41 | /* | 41 | /* |
42 | * Don't use BUG() or BUG_ON() unless there's really no way out; one | 42 | * Don't use BUG() or BUG_ON() unless there's really no way out; one |