[PATCH] Staging: comedi: Fixed long line lengths in comedi.h
This patch fixes quite a few long line lengths in comedi.h as reported by checkpatch.pl Signed-off-by: Mark Rankilor <reodge(a)gmail.com> --- drivers/staging/comedi/comedi.h | 62 +++++++++++++++++++++----------------- 1 files changed, 34 insertions(+), 28 deletions(-) diff --git a/drivers/staging/comedi/com... 10 May 2010 06:35
[PATCH 13/25] lmb: Add debug markers at the end of the array
Since we allocate one more than needed, why not do a bit of sanity checking here to ensure we don't walk past the end of the array ? Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- lib/lmb.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/lib/lmb.c b/li... 10 May 2010 06:35
power/ds2760_battery: make charge_now and charge_full_design writeable
On Fri, May 07, 2010 at 07:52:12PM +0200, Daniel Mack wrote: For userspace tools and daemons, it might be necessary to adjust the charge_now and charge_full_design properties of the ds2760 battery monitor, for example for unavoidable corrections due to aging batteries. Changing charge_full_design seems real... 10 May 2010 09:52
[PATCH 17/25] lmb: split lmb_find_base() out of __lmb_alloc_base()
This will be used by the array resize code and might prove useful to some arch code as well at which point it can be made non-static. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- lib/lmb.c | 43 +++++++++++++++++++++++++++---------------- 1 files changed, 27 insertions(+), 16 deletions... 10 May 2010 06:35
perf top: set perf_event_attr->pmu_id
On Mon, 2010-05-10 at 17:29 +0800, Lin Ming wrote: This is just a temporary patch to show the setting of perf_event_attr->pmu_id. Signed-off-by: Lin Ming <ming.m.lin(a)intel.com> --- tools/perf/builtin-top.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tools/p... 10 May 2010 06:35
perf: core, remove hw_perf_event_init
On Mon, 2010-05-10 at 17:26 +0800, Lin Ming wrote: A new field "pmu_id" is added to struct perf_event_attr. 2 new functions: perf_event_register_pmu, perf_event_lookup_pmu perf_event_register_pmu: the pmu registration facility perf_event_lookup_pmu: lookup the pmu via the passed in event->attr.pmu_id. ... 11 May 2010 23:24
pda_power: add support for writeable properties
On Fri, May 07, 2010 at 07:52:11PM +0200, Daniel Mack wrote: + /* TODO: support other types than int */ + ret = strict_strtol(buf, 10, &long_val); + if (ret < 0) + return ret; It'd be nicer if we could error out if this is used on properties with an inappropriate type but we don't seem to have type i... 18 May 2010 17:00
[PATCH 02/25] lmb: No reason to include asm/lmb.h late
Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- include/linux/lmb.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/lmb.h b/include/linux/lmb.h index d225d78..de8031f 100644 --- a/include/linux/lmb.h +++ b/include/linux/lmb.h @@ -16,6 +16,8 @@ #... 10 May 2010 06:35
[PATCH 18/25] lmb: Move functions around into a more sensible order
Some shuffling is needed for doing array resize so we may as well put some sense into the ordering of the functions in the whole lmb.c file. No code change. Added some comments. Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- lib/lmb.c | 295 ++++++++++++++++++++++++++++++++----------------... 10 May 2010 06:35
[PATCH 24/25] lmb: Make lmb_alloc_try_nid() fallback to LMB_ALLOC_ANYWHERE
lmb_alloc_nid() used to fallback to allocating anywhere by using lmb_alloc() as a fallback. However, some of my previous patches limit lmb_alloc() to the region covered by LMB_ALLOC_ACCESSIBLE which is not quite what we want for lmb_alloc_try_nid(). So we fix it by explicitely using LMB_ALLOC_ANYWHERE. Not ... 10 May 2010 06:35