diff options
| -rw-r--r-- | arch/x86/oprofile/nmi_int.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index 73a41d3c6c09..cfe4faabb0f6 100644 --- a/arch/x86/oprofile/nmi_int.c +++ b/arch/x86/oprofile/nmi_int.c | |||
| @@ -585,8 +585,10 @@ static void exit_sysfs(void) | |||
| 585 | } | 585 | } |
| 586 | 586 | ||
| 587 | #else | 587 | #else |
| 588 | #define init_sysfs() do { } while (0) | 588 | |
| 589 | #define exit_sysfs() do { } while (0) | 589 | static inline int init_sysfs(void) { return 0; } |
| 590 | static inline void exit_sysfs(void) { } | ||
| 591 | |||
| 590 | #endif /* CONFIG_PM */ | 592 | #endif /* CONFIG_PM */ |
| 591 | 593 | ||
| 592 | static int __init p4_init(char **cpu_type) | 594 | static int __init p4_init(char **cpu_type) |
