From: Alexey Dobriyan Date: Wed, 17 Oct 2007 06:26:03 +0000 (-0700) Subject: Use list_head in binfmt handling X-Git-Tag: v2.6.24-rc1~780 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4dc1b14d8dc57c3975bf69740e4f5cda6bfba09;p=pandora-kernel.git Use list_head in binfmt handling Switch single-linked binfmt formats list to usual list_head's. This leads to one-liners in register_binfmt() and unregister_binfmt(). The downside is one pointer more in struct linux_binfmt. This is not a problem, since the set of registered binfmts on typical box is very small -- (ELF + something distro enabled for you). Test-booted, played with executable .txt files, modprobe/rmmod binfmt_misc. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed