lkml.org 
[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] drivers/char/nvram: Restore #include <linux/smp_lock.h>
From
Date
Commit 8587b33f4adee4e7614ea7f443346c3b6bb5427a removed
the include, but it's still required for a different
lock_kernel/unlock_kernel pair in nvram_open

Compiled: x86/defconfig

Signed-off-by: Joe Perches <joe@perches.com>
---
diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c
index 2100a8f..3cfa0f6 100644
--- a/drivers/char/nvram.c
+++ b/drivers/char/nvram.c
@@ -38,6 +38,7 @@
#define NVRAM_VERSION "1.3"

#include <linux/module.h>
+#include <linux/smp_lock.h>
#include <linux/nvram.h>

#define PC 1



\
 
 \ /
  Last update: 2009-12-09 22:05    [W:0.024 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site