Hi, 2008/3/26, Haavard Skinnemoen <haavard.skinnemoen@atmel.com>:I've added a more sofisticated arch convertion patch (the clocklib for ARM PXA chips). Basically mode becomes enable/disable (however it may be better to merge back those pointers into one function). And dev and index go to priv data. The documentation will come later. At maximum 55, IIUC. I counted 32 or so additional bytes in the struct (over avr32-specific one). That would count up to 1.5 K overhead. Is that really too much for current kernels? OTOH this would bring unification of platform code, allow configurations when a non-platform driver would provide it's own clocks (think about multi-function companion chips when there is a "core" which manages "clocks" for it's "periferal" devices. Currently if one tries to implement such driver, he is forced to either bind it to platform code, or to implement non-standard my_device_clock_enable()-like functions. Also you aren't forced to use this API. simply don't select HAVE_CLOCK_LIB and leave all things as they are. E.g. gpiolib is now merged, however not all gpio-providing platforms are using it. -- With best wishes Dmitry --
| Ryan Hope | reiser4 for 2.6.27-rc1 |
| Ingo Molnar | Re: 2.6.24-rc6-mm1 |
| Tejun Heo | [PATCHSET] CUSE: implement CUSE |
| Peter Zijlstra | Re: 2.6.24-rc8-mm1 (BUG: sched_rt) |
git: | |
| Shawn O. Pearce | Re: [PATCH/POLL] git-format-patch: the default suffix is now .patch, not .txt |
| Jakub Narebski | Re: What's cooking in git.git (topics) |
| Junio C Hamano | Maintaining "needswork" section of "What's (not) cooking" |
| Matthias Lederhofer | [PATCH] prune-packed: new option --min-age=N |
| Theo de Raadt | That whole "Linux stealing our code" thing |
| Karthik Kumar | Re: Real men don't attack straw men |
| Khalid Schofield | Configuring sendmail openbsd 4.2 |
| Ray Percival | Re: Real men don't attack straw men |
| RW | Re: forcefsck on booting stage |
| Vladimir Terziev | Video memory as swap under FreeBSD |
| Ivan Voras | Progress for 7.0 - the "what's cooking" page |
| Pietro Cerutti | Re: [patch] enhance powerd(8) to handle max temperature |
