Re: PT_* vs. struct pt_regs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Jan 2007, Roman Zippel wrote:
On Thu, 11 Jan 2007, Geert Uytterhoeven wrote:
Hmm, upon closer look, there are more conflicts between
<asm/asm-offsets.h> and other header files, and
arch/m68k/kernel/ptrace.c does need some of the PT_* definitions from
<asm/ptrace.h>, so I can't just kill them. I guess I'll have to rename the
conflicting ones in asm-offsets.

First patch (still fails to build the whole tree) below.

Below is an alternative approach (which at least compiles :) ), which 
avoids any direct or indirect dependency on task structure information. 
Only the init_task definition is a little ugly as there is currently no 
way to get the task_struct without pulling all of sched.h

Any chance you can push this to Linus for 2.6.20?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux