Hi! On Tue, May 27, 2008 at 11:38 PM, Adrian Bunk <bunk@kernel.org> wrote:[...] Ah, that's true. My mistake. CHECK include/asm/ptrace.h [...]/usr/include/asm/ptrace.h requires asm/ds.h, which does not exist in exported headers What do you reckon is better here, to put #ifdef __KERNEL__ around the whole of ds.h and export it, or put #ifdef __KERNEL__ around the #include in ptrace.h? It feels wasteful to put it around the whole ds.h, since what is the point in exporting an empty file? On the other hand, it makes much more sense to put it there than in the "caller" in order to avoid the duplication of #ifdef __KERNEL__. So unless you prefer otherwise, I will choose the former (to export ds.h as well). I hope you agree with the idea of moving the #include line to the top of the file, however? Thanks for the tip, that is very useful. I didn't realize I should use that and I'm sorry for wasting your time with the first attempt :-( It can go in there, yes. I will do that in the re-worked (hopefully correct) patch. This business of breaking cycles is a bit nasty. There are very many traps to fall into, very many setups to break, and very little support from the tools to help you get it right (though with 'make headers_check' I am a little better off). Thanks for the help :-) Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
| monstr | [PATCH 27/56] microblaze_v2: support for a.out |
| Andrew Morton | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| mdew . | Re: [patch] CFS scheduler, v4 |
| Gabriel C | Re: 2.6.21-mm1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Willy Tarreau | Re: [PATCH] tcp: splice as many packets as possible at once |
| Linus Torvalds | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
