aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/flat.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-13 09:09:01 +0200
committerGreg Ungerer <gerg@kernel.org>2019-06-24 09:16:47 +1000
commita445d988b4790e06bb94e927e740017675d7e700 (patch)
tree58ee36e67100251582a4a7e9fa32705b13ba44e6 /include/linux/flat.h
parentbinfmt_flat: remove the persistent argument from flat_get_addr_from_rp (diff)
downloadwireguard-linux-a445d988b4790e06bb94e927e740017675d7e700.tar.xz
wireguard-linux-a445d988b4790e06bb94e927e740017675d7e700.zip
binfmt_flat: move the MAX_SHARED_LIBS definition to binfmt_flat.c
MAX_SHARED_LIBS is an implementation detail of the kernel loader, and should be kept away from the file format definition. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'include/linux/flat.h')
-rw-r--r--include/linux/flat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/flat.h b/include/linux/flat.h
index d586bb6e64a7..83977c0ce3de 100644
--- a/include/linux/flat.h
+++ b/include/linux/flat.h
@@ -12,12 +12,6 @@
#define FLAT_VERSION 0x00000004L
-#ifdef CONFIG_BINFMT_SHARED_FLAT
-#define MAX_SHARED_LIBS (4)
-#else
-#define MAX_SHARED_LIBS (1)
-#endif
-
/*
* To make everything easier to port and manage cross platform
* development, all fields are in network byte order.