diff options
author | Stoyan Gaydarov <stoyboyker@gmail.com> | 2009-03-26 15:24:47 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 15:24:28 +0100 |
commit | 6aa0d3a922c4f58fc36cc1502c6ac72f999e26bb (patch) | |
tree | 36e27fe870cc142115d7aff1a78ad2a927a4a874 /arch/s390/kernel/debug.c | |
parent | [S390] zfcpdump: Prevent zcore from beeing built as a kernel module. (diff) | |
download | linux-6aa0d3a922c4f58fc36cc1502c6ac72f999e26bb.tar.xz linux-6aa0d3a922c4f58fc36cc1502c6ac72f999e26bb.zip |
[S390] BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/debug.c')
-rw-r--r-- | arch/s390/kernel/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index ba03fc0a3a56..39137b9e1622 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c @@ -698,8 +698,7 @@ debug_info_t *debug_register_mode(const char *name, int pages_per_area, if ((uid != 0) || (gid != 0)) pr_warning("Root becomes the owner of all s390dbf files " "in sysfs\n"); - if (!initialized) - BUG(); + BUG_ON(!initialized); mutex_lock(&debug_mutex); /* create new debug_info */ |