* Rusty Russell (rusty@rustcorp.com.au) wrote: [...]Almost.. actually, I have to call those architecture specific primitives : - text_poke : a memcpy that copies to write protected memory (disables the WP bit) - sync_core : synchronize the core, only defined on x86 I'll also have to add a flush_icache_range to support powerpc correctly, but this one turns out to be implemented on each architecture and therefore is not a problem. So I guess the proper way to do this would be to add : #define text_poke memcpy #define text_poke_early text_poke #define sync_core() to asm-$ARCH/cacheflush.h for each architecture we add support for HAS_IMMEDIATE ? Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Andrew Morton | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Michael Opdenacker | [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling |
git: | |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
