summaryrefslogtreecommitdiff
path: root/kernel-autoconf.h
blob: ca46a29afd35a13278b71cc4717461bb7f3bfcbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 <linux/autoconf-smp.h>
#define __pld_autoconf_included_file__ 1
#endif /* __KERNEL_SMP */

#if !defined(__pld_autoconf_included_file__)
#include <linux/autoconf-up.h>
#else
#undef __pld_autoconf_included_file__
#endif /* __pld_autoconf_included_file__ */

#endif /* __pld_kernel_autoconf_h__ */