+ init-version-include-linux-exporth-instead-of-linux-moduleh.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: init/version.c: include <linux/export.h> instead of <linux/module.h>
has been added to the -mm tree.  Its filename is
     init-version-include-linux-exporth-instead-of-linux-moduleh.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/init-version-include-linux-exporth-instead-of-linux-moduleh.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/init-version-include-linux-exporth-instead-of-linux-moduleh.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Subject: init/version.c: include <linux/export.h> instead of <linux/module.h>

init/version.c has nothing to do with modules, so remove the
<linux/modude.h>.

Instead, include <linux/export.h> for EXPORT_SYMBOL_GPL.

This cuts off a lot of unnecessary header parsing.

Link: http://lkml.kernel.org/r/1505920984-8523-1-git-send-email-yamada.masahiro@xxxxxxxxxxxxx
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 init/version.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN init/version.c~init-version-include-linux-exporth-instead-of-linux-moduleh init/version.c
--- a/init/version.c~init-version-include-linux-exporth-instead-of-linux-moduleh
+++ a/init/version.c
@@ -7,7 +7,7 @@
  */
 
 #include <generated/compile.h>
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/uts.h>
 #include <linux/utsname.h>
 #include <generated/utsrelease.h>
_

Patches currently in -mm which might be from yamada.masahiro@xxxxxxxxxxxxx are

bitfieldh-remove-32bit-from-field_get-comment-block.patch
init-version-include-linux-exporth-instead-of-linux-moduleh.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux