| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2007 Atmel Corporation |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | #include <linux/delay.h> |
|---|
| 9 | 6 | #include <linux/kdebug.h> |
|---|
| .. | .. |
|---|
| 52 | 49 | register_die_notifier(&nmi_debug_nb); |
|---|
| 53 | 50 | |
|---|
| 54 | 51 | if (*str != '=') |
|---|
| 55 | | - return 0; |
|---|
| 52 | + return 1; |
|---|
| 56 | 53 | |
|---|
| 57 | 54 | for (p = str + 1; *p; p = sep + 1) { |
|---|
| 58 | 55 | sep = strchr(p, ','); |
|---|
| .. | .. |
|---|
| 73 | 70 | break; |
|---|
| 74 | 71 | } |
|---|
| 75 | 72 | |
|---|
| 76 | | - return 0; |
|---|
| 73 | + return 1; |
|---|
| 77 | 74 | } |
|---|
| 78 | 75 | __setup("nmi_debug", nmi_debug_setup); |
|---|