[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1260392620.5351.48.camel@Joe-Laptop.home>
Date: Wed, 09 Dec 2009 13:03:40 -0800
From: Joe Perches <joe@...ches.com>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] drivers/char/nvram: Restore #include <linux/smp_lock.h>
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@...ches.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists