]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/x86/boot/compressed/kaslr.c
module: allow symbol exports to be disabled
[linux.git] / arch / x86 / boot / compressed / kaslr.c
index 302517929932bb52405d5396c57f084691090e5e..d1e19f358b6ec5fbc5c682e02d2b36149b0aa43a 100644 (file)
  * _ctype[] in lib/ctype.c is needed by isspace() of linux/ctype.h.
  * While both lib/ctype.c and lib/cmdline.c will bring EXPORT_SYMBOL
  * which is meaningless and will cause compiling error in some cases.
- * So do not include linux/export.h and define EXPORT_SYMBOL(sym)
- * as empty.
  */
-#define _LINUX_EXPORT_H
-#define EXPORT_SYMBOL(sym)
+#define __DISABLE_EXPORTS
 
 #include "misc.h"
 #include "error.h"