diff options
-rw-r--r-- | runtime/user/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/user/runtime.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/runtime/user/ChangeLog b/runtime/user/ChangeLog new file mode 100644 index 00000000..13350a65 --- /dev/null +++ b/runtime/user/ChangeLog @@ -0,0 +1,5 @@ +2005-06-22 Martin Hunt <hunt@redhat.com> + + * runtime.h: Include config.h first then redefine CONFIG_SMP + and NR_CPUS. + diff --git a/runtime/user/runtime.h b/runtime/user/runtime.h index 30491543..7a07afba 100644 --- a/runtime/user/runtime.h +++ b/runtime/user/runtime.h @@ -5,11 +5,12 @@ */ #define __KERNEL__ -#include <linux/module.h> +#include <linux/config.h> #undef CONFIG_NR_CPUS #undef CONFIG_SMP #define CONFIG_NR_CPUS 8 #define CONFIG_SMP +#include <linux/module.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/init.h> |