* [merged] fixdep-faster-config_-search-v2.patch removed from -mm tree
@ 2016-08-25 20:31 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-08-25 20:31 UTC (permalink / raw)
To: adobriyan, mmarek, mm-commits
The patch titled
Subject: fixdep: faster CONFIG_ search
has been removed from the -mm tree. Its filename was
fixdep-faster-config_-search-v2.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Alexey Dobriyan <adobriyan@gmail.com>
Subject: fixdep: faster CONFIG_ search
Link: http://lkml.kernel.org/r/20160824180305.GA22266@p183.telecom.by
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
scripts/basic/fixdep.c | 19 -------------------
1 file changed, 19 deletions(-)
diff -puN scripts/basic/fixdep.c~fixdep-faster-config_-search-v2 scripts/basic/fixdep.c
--- a/scripts/basic/fixdep.c~fixdep-faster-config_-search-v2
+++ a/scripts/basic/fixdep.c
@@ -114,11 +114,6 @@
#include <ctype.h>
#include <arpa/inet.h>
-#define INT_CONF ntohl(0x434f4e46)
-#define INT_ONFI ntohl(0x4f4e4649)
-#define INT_NFIG ntohl(0x4e464947)
-#define INT_FIG_ ntohl(0x4649475f)
-
int insert_extra_deps;
char *target;
char *depfile;
@@ -435,22 +430,8 @@ static void print_deps(void)
close(fd);
}
-static void traps(void)
-{
- static char test[] __attribute__((aligned(sizeof(int)))) = "CONF";
- int *p = (int *)test;
-
- if (*p != INT_CONF) {
- fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianness? %#x\n",
- *p);
- exit(2);
- }
-}
-
int main(int argc, char *argv[])
{
- traps();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-25 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-25 20:31 [merged] fixdep-faster-config_-search-v2.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).