On Thu Jan 27, 2005 at 17:51:54 +0100, Stefan K. wrote:
Am Donnerstag, 27. Januar 2005 17:56 schrieb Adam Lackorzynski:
On Thu Jan 27, 2005 at 17:29:22 +0100, Stefan K. wrote:
exactly, it looks similar, but it's missing the noinline argument:
__attribute__ (()) __attribute__ ((noreturn)) void Kernel_thread::run() {
Strange. At the top of the .i file, there should be something like this:
#define FIASCO_NOINLINE __attribute__ ((noinline))
Right?
yes, it is.
And probably show the output of "grep noinline kernel_thread.i".
[sk852421@nautilus build]$ grep noinline kernel_thread.i #define __attribute_noinline__ __attribute__ ((__noinline__)) #define FIASCO_NOINLINE __attribute__ ((noinline)) #define noinline
^^^^^^^^^^^^^^^^^^^^^^ So, what's that? Looks like /usr/include/linux/compiler.h is messing up here. Did you copy kernel headers to /usr/include?
__attribute__ ((noinline)) __attribute__ ((noreturn))
Adam