On Tuesday 08 March 2005 05:16 pm, Przemyslaw Urbanski wrote: > Hey, > > I have very simple module like: > [...] > > It compiles, I can load and unload module. > > If I add > > CFLAGS = -I/lib/modules/$(shell uname -r)/build/include/asm/mach-default > > module will cause seg fault while loading the module. Any idea, why? > > P Why do you need such a thing? Use #include <asm/mach-default/header.h> in your source file instead. tavi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/