From: Jan Rękorajski Date: Tue, 15 Feb 2000 14:15:41 +0000 (+0000) Subject: 2582b486dba914954fcfb7fdc1032bfe kernel-autoconf.h X-Git-Tag: kernel-2_2_14-2~8 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=34c9cf9dc5ac0dcf1a141bf10f0a81fbd57001d8;p=packages%2Fkernel.git 2582b486dba914954fcfb7fdc1032bfe kernel-autoconf.h Changed files: kernel-autoconf.h -> 1.1 --- diff --git a/kernel-autoconf.h b/kernel-autoconf.h new file mode 100644 index 00000000..ca46a29a --- /dev/null +++ b/kernel-autoconf.h @@ -0,0 +1,24 @@ +#ifndef __pld_kernel_autoconf_h__ +#define __pld_kernel_autoconf_h__ + +/* + * Define some nasty macros o we can construct the file names + * we want to include + */ + +#if defined(__pld_autoconf_included_file__) +#undef __pld_autoconf_included_file__ +#endif /* __pld_autoconf_included_file__ */ + +#if defined(__KERNEL_SMP) +#include +#define __pld_autoconf_included_file__ 1 +#endif /* __KERNEL_SMP */ + +#if !defined(__pld_autoconf_included_file__) +#include +#else +#undef __pld_autoconf_included_file__ +#endif /* __pld_autoconf_included_file__ */ + +#endif /* __pld_kernel_autoconf_h__ */