From 98c352c96d5a35e7ac7e1c2f1eaa389c59b167f3 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 24 Apr 2014 10:53:48 +0200 Subject: [PATCH] aufs: remove lockdep workaround When using this workaround the kernel is hanging at "Unpacking initramfs...". --- filesystem/aufs/aufs-lockdep.diff | 38 ------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 filesystem/aufs/aufs-lockdep.diff diff --git a/filesystem/aufs/aufs-lockdep.diff b/filesystem/aufs/aufs-lockdep.diff deleted file mode 100644 index fe1de753a..000000000 --- a/filesystem/aufs/aufs-lockdep.diff +++ /dev/null @@ -1,38 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: package/.../aufs/aufs-lockdep.diff -# Copyright (C) 2013 The OpenSDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- SDE-COPYRIGHT-NOTE-END --- - -diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h -index 00e4637..ec95456 100644 ---- a/include/linux/lockdep.h -+++ b/include/linux/lockdep.h -@@ -29,7 +29,7 @@ extern int lock_stat; - */ - #define XXX_LOCK_USAGE_STATES (1+3*4) - --#define MAX_LOCKDEP_SUBCLASSES 8UL -+#define MAX_LOCKDEP_SUBCLASSES (8UL + 4) - - /* - * NR_LOCKDEP_CACHING_CLASSES ... Number of classes -@@ -203,7 +203,7 @@ struct lock_chain { - u64 chain_key; - }; - --#define MAX_LOCKDEP_KEYS_BITS 13 -+#define MAX_LOCKDEP_KEYS_BITS (13 + 4) - /* - * Subtract one because we offset hlock->class_idx by 1 in order - * to make 0 mean no class. This avoids overflowing the class_idx