| From | Subject | Date |
|---|---|---|
| Andrea Righi | [RFC PATCH 4/5] use the memcg VM overcommit prototypes
Apply the new memory controller VM prototypes to the opportune kernel routines.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
ipc/shm.c | 6 ++++--
kernel/fork.c | 2 +-
mm/mmap.c | 10 ++++++----
mm/mprotect.c | 2 +-
mm/mremap.c | 4 ++--
mm/shmem.c | 49 +++++++++++++++++++++++++++++++++++++++++--------
mm/swapfile.c | 4 ++--
7 files changed, 57 insertions(+), 20 deletions(-)
diff --git a/ipc/shm.c b/ipc/shm.c
index 554429a..420bfa9 10064...
| Jun 9, 7:33 pm 2008 |
| Andrea Righi | [RFC PATCH 3/5] mgmcg VM overcommit interface
Per-cgroup overcommit_memory and overcommit_ratio parameters can be shown
and/or manipulated using the files "memory.overcommit_memory" and
"memory.overcommit_ratio" in the cgroup filesystem.
The file "overcommit_as" can be used to retrieve the current committed space
and limit of each cgroup.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
mm/memcontrol.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 115 insertions(+), 1 deletions(-)
diff --...
| Jun 9, 7:33 pm 2008 |
| Andrea Righi | [RFC PATCH 0/5] memcg: VM overcommit accounting and handling
Provide distinct cgroup VM overcommit accounting and handling using the memory
resource controller.
Patchset against latest Linus git tree.
This patchset allows to set different per-cgroup overcommit rules and,
according to them, it's possible to return a memory allocation failure (ENOMEM)
to the applications, instead of always triggering the OOM killer via
mem_cgroup_out_of_memory() when cgroup memory limits are exceeded.
Default overcommit settings are taken from vm.overcommit_memory and
v...
| Jun 9, 7:32 pm 2008 |
| Andrea Righi | [RFC PATCH 5/5] refresh VM committed space after a task migr...
Update VM committed space statistics when a task is migrated from a cgroup to
another. To implement this feature we must keep track of the space committed by
each task (that is directly accounted in the task_struct).
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
include/linux/sched.h | 3 +++
kernel/fork.c | 3 +++
mm/memcontrol.c | 6 ++++++
3 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
ind...
| Jun 9, 7:33 pm 2008 |
| Andrea Righi | [RFC PATCH 2/5] overcommit accounting and handling functions
Split the different __vm_enough_memory() policies in inline functions to
easily reuse them in the memory controller overcommit handling routines.
Accounting functions vm_acct_memory() and vm_unacct_memory() are rewritten as
well, including per-cgroup committed VM accounting concept.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
include/linux/mman.h | 148 ++++++++++++++++++++++++++++++++++++++++++++++++--
mm/memcontrol.c | 139 +++++++++++++++++++++++++++++++++++++++++++++...
| Jun 9, 7:33 pm 2008 |
| Andrea Righi | [RFC PATCH 1/5] memcg VM overcommit documentation
Documentation of the VM overcommit memory controller included in the generic
memory controller documentation: basic description and usage.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
Documentation/controllers/memory.txt | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/Documentation/controllers/memory.txt b/Documentation/controllers/memory.txt
index 866b9cd..e984bfb 100644
--- a/Documentation/controllers/memory.txt
+++ b/Doc...
| Jun 9, 7:32 pm 2008 |
| Chris Wright | [PATCH] MAINTAINERS: update PPPoE maintainer address
Cc: Michal Ostrowski <mostrows@earthlink.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
MAINTAINERS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 99f5665..cb71eb4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3264,7 +3264,7 @@ S: Maintained
PPP OVER ETHERNET
P: Michal Ostrowski
-M: mostrows@speakeasy.net
+M: mostrows@earthlink.net
S: Maintained
PPP OVER L2TP
--
| Jun 9, 7:07 pm 2008 |
| eranian | [patch 21/21] perfmon2 minimal: AMD64 processor support
Add support for AMD64 processors for Family 6, 15, and 16.
Both 32-bit and 64-bit modes are supported.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/perfmon/Kconfig
===================================================================
--- o.orig/arch/x86/perfmon/Kconfig 2008-06-09 21:29:16.000000000 +0200
+++ o/arch/x86/perfmon/Kconfig 2008-06-09 21:29:21.000000000 +0200
@@ -23,4 +23,11 @@
Enables support for Intel architectural performance counters.
This f...
| Jun 9, 6:35 pm 2008 |
| eranian | [patch 20/21] perfmon2 minimal: Intel architectural PMU sup...
This patch adds Intel architectural PMU support (version 1 and 2).
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/perfmon/Makefile
===================================================================
--- o.orig/arch/x86/perfmon/Makefile 2008-06-09 21:14:00.000000000 +0200
+++ o/arch/x86/perfmon/Makefile 2008-06-09 21:28:43.000000000 +0200
@@ -3,3 +3,4 @@
# Contributed by Stephane Eranian <eranian@hpl.hp.com>
#
obj-$(CONFIG_PERFMON) += perfmon.o
+obj-$...
| Jun 9, 6:35 pm 2008 |
| eranian | [patch 19/21] perfmon2 minimal: system calls
This patch adds the top level perfmon2 system calls.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_syscalls.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/perfmon/perfmon_syscalls.c 2008-06-09 11:25:17.000000000 +0200
@@ -0,0 +1,741 @@
+/*
+ * perfmon_syscalls.c: perfmon2 system call interface
+ *
+ * This file implements the perfmon2 interface which
+ * provides access to t...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 18/21] perfmon2 minimal: X86 32-bit system calls sup...
This patchs adds the entry points for the X86 32-bit perfmon2 system calls.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/kernel/syscall_table_32.S
===================================================================
--- o.orig/arch/x86/kernel/syscall_table_32.S 2008-06-04 11:11:06.000000000 +0200
+++ o/arch/x86/kernel/syscall_table_32.S 2008-06-04 11:33:27.000000000 +0200
@@ -326,3 +326,16 @@
.long sys_fallocate
.long sys_timerfd_settime /* 325 */
.long s...
| Jun 9, 6:34 pm 2008 |
| dcg | Re: [patch 18/21] perfmon2 minimal: X86 32-bit system calls...
12 syscalls? O_o
I'm nobody to say if it's right or wrong...(and it probably has been
already discussed) but I'm curious, why this interface and not something
like ioctls (which many people doesn't like, but seems a better choice
for clueless people like me)?
--
| Jun 9, 7:33 pm 2008 |
| David Miller | Re: [patch 18/21] perfmon2 minimal: X86 32-bit system calls ...
From: dcg <diegocg@gmail.com>
It has been discussed to death, please read the archives.
--
| Jun 9, 7:35 pm 2008 |
| eranian | [patch 17/21] perfmon2 minimal: X86 64-bit system calls sup...
This patchs adds the entry points for the X86 64-bit perfmon2 system calls.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/ia32/ia32entry.S
===================================================================
--- o.orig/arch/x86/ia32/ia32entry.S 2008-06-04 11:09:38.000000000 +0200
+++ o/arch/x86/ia32/ia32entry.S 2008-06-04 11:33:03.000000000 +0200
@@ -731,4 +731,16 @@
.quad sys32_fallocate
.quad compat_sys_timerfd_settime /* 325 */
.quad compat_sys_timerfd_...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 16/21] perfmon2 minimal: context creation
This patch adds perfmon2 context management functions to create
and destroy a perfmon context which encapsulates the entire PMU
state.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_ctx.c
===================================================================
--- o.orig/perfmon/perfmon_ctx.c 2008-06-09 11:17:31.000000000 +0200
+++ o/perfmon/perfmon_ctx.c 2008-06-09 11:19:26.000000000 +0200
@@ -162,3 +162,180 @@
}
return 0;
}
+
+/**
+ * pfm_ctx_permi...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 15/21] perfmon2 minimal: attach/detach support
This patch adds the attach and detach functionalities. A perfmon
session can be dynamically attached and detached from a thread.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_attach.c
===================================================================
--- o.orig/perfmon/perfmon_attach.c 2008-06-09 11:17:31.000000000 +0200
+++ o/perfmon/perfmon_attach.c 2008-06-09 11:19:08.000000000 +0200
@@ -42,6 +42,243 @@
#include "perfmon_priv.h"
/**
+ * __pfm_l...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 14/21] perfmon2 minimal: monitoring activation
Adds perfmon_active.c which implements the start and stop monitoring
functions.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_activate.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/perfmon/perfmon_activate.c 2008-06-09 11:18:31.000000000 +0200
@@ -0,0 +1,136 @@
+/*
+ * perfmon_activate.c: perfmon2 start/stop functions
+ *
+ * This file implements the perfmon2 interface wh...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 13/21] perfmon2 minimal: read-write registers
This patch adds the functions to read and write PMU data and
config registers.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_rw.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/perfmon/perfmon_rw.c 2008-06-09 11:18:04.000000000 +0200
@@ -0,0 +1,368 @@
+/*
+ * perfmon.c: perfmon2 PMC/PMD read/write system calls
+ *
+ * This file implements the perfmon2 interface which
+ * prov...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 12/21] perfmon2 minimal: sysfs interface
This patch adds the sysfs interface to the perfmon2 subsystem. It is
used for configuration of the interface. It exposes the PMU register
mappings and various attributes of the subsystem.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_init.c
===================================================================
--- o.orig/perfmon/perfmon_init.c 2008-06-04 22:46:24.000000000 +0200
+++ o/perfmon/perfmon_init.c 2008-06-04 22:46:26.000000000 +0200
@@ -62,6 +62,9 ...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 11/21] perfmon2 minimal: PMU mapping
This patch adds PMU resource description management functions.
Perfmon2 exports a logical view of the PMU with uniform register
names across all architectures. Each logical register is then
map onto an actual PMU register via a mapping table. Such table
exists for each PMU model.
PMU description tables are hardcoded into the kernel and one
is selected during boot.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_pmu.c
=====================================...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 10/21] perfmon2 minimal: X86 32-bit hooks
This patch adds the necessary hooks to the X86 32-bit code
to support initialization, interrupts, context switching,
and termination of a perfmon session.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/kernel/apic_32.c
===================================================================
--- o.orig/arch/x86/kernel/apic_32.c 2008-06-04 11:09:10.000000000 +0200
+++ o/arch/x86/kernel/apic_32.c 2008-06-04 11:10:18.000000000 +0200
@@ -28,6 +28,7 @@
#include <linux/...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 09/21] perfmon2 minimal: X86 64-bit hooks
This patch adds the necessary hooks to the X86 64-bit code
to support initialization, interrupts, context switching,
and termination of a perfmon session.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
-
Index: o/arch/x86/kernel/entry_64.S
===================================================================
--- o.orig/arch/x86/kernel/entry_64.S 2008-06-04 10:57:47.000000000 +0200
+++ o/arch/x86/kernel/entry_64.S 2008-06-04 10:58:05.000000000 +0200
@@ -727,7 +727,13 @@
ENTRY(spurious...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 08/21] perfmon2 minimal: X86 OProfile hooks
Provides PMU access synchronization between Perfmon2 and OProfile.
Both subsystems can be compiled in. Only one of them can be active
at any one time. It is necessary to issue opcontrol --shutdown
to terminate the OProfile session.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/oprofile/nmi_int.c
===================================================================
--- o.orig/arch/x86/oprofile/nmi_int.c 2008-06-04 22:36:10.000000000 +0200
+++ o/arch/x86/oprofile/...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 07/21] perfmon2 minimal: X86 generic code
This patch adds the X86 generic perfmon2 code. It is in charge of
implementing certain key functionalities required by the generic
code such as read/write of the PMU registers, low-level interrupt
handling.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/perfmon/Kconfig
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/arch/x86/perfmon/Kconfig 2008-06-03 11:24:45.000000000 +0200
@@ -0,0 +1,...
| Jun 9, 6:34 pm 2008 |
| eranian | [patch 06/21] perfmon2 minimal: X86 generic hooks
This patch adds the generic X86 hooks to support perfmon2.
And in particular the Makefile and header file export.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/arch/x86/Makefile
===================================================================
--- o.orig/arch/x86/Makefile 2008-06-02 18:53:33.000000000 +0200
+++ o/arch/x86/Makefile 2008-06-02 18:54:41.000000000 +0200
@@ -176,6 +176,8 @@
core-y += arch/x86/kernel/
core-y += arch/x86/mm/
+core-$(CONFIG_PERFMON) += ...
| Jun 9, 6:33 pm 2008 |
| eranian | [patch 05/21] perfmon2 minimal: interrupt handling
This patch adds the generic code to handle PMU interrupts.
On interrupt, the handler check for register overflow, and
it the register is a counter, the 64-bit software maintained
register is updated, i.e., it ensures 64-bit virtualization
of the counters whenever necessary.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_intr.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/perfmo...
| Jun 9, 6:33 pm 2008 |
| eranian | [patch 04/21] perfmon2 minimal: context switch
This patch adds the support for context switching the PMU
state in per-thread moniotring mode. The code uses a lazy
approach to be more efficient on that for both UP and SMP
kernels. Note that this patch provides the generic switching
functionality, actual access to the registers is provided
separately for each architecture.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/perfmon_ctxsw.c
===================================================================
--- /dev/...
| Jun 9, 6:33 pm 2008 |
| eranian | [patch 03/21] perfmon2 minimal: base code
This patch adds the core functions of the perfmon2 subsystem.
It creates the toplevel perfmon subdirectory where all perfmon2
generic code lives. Core functions implements initialization,
session allocation and terminations.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/perfmon/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/perfmon/Makefile 2008-06-05 12:56:13.000000000 +0200
@@ -0,0 +...
| Jun 9, 6:33 pm 2008 |
| eranian | [patch 02/21] perfmon2 minimal: generic headers
This patch adds the generic perfmon2 headers including the public
head perfmon.h which can be used by applications. The other
headers are for kernel use only.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/include/linux/perfmon.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o/include/linux/perfmon.h 2008-06-05 10:58:36.000000000 +0200
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2001-2006 Hewlett-Pac...
| Jun 9, 6:33 pm 2008 |
| eranian | [patch 01/21] perfmon2 minimal: generic hooks
This simple patch adds the perfmon subdirectory to the
top-level Makefile.
It also adds the perfmon2 context pointer to the task
struct. The field points to the perfmon context structure
only when a thread is monitored.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o/Makefile
===================================================================
--- o.orig/Makefile 2008-06-05 11:00:37.000000000 +0200
+++ o/Makefile 2008-06-05 11:00:43.000000000 +0200
@@ -607,7 +607,7 @@...
| Jun 9, 6:33 pm 2008 |
| eranian | [patch 00/21] perfmon2 minimal: introduction
Hello,
The following patches implement a minimal perfmon2 subsystem which provides
access to the hardware performance counters of modern processors.
This series supports ONLY per-thread counting of PMU events (no sampling) for
AMD64 and Intel processors supporting architectural perfmon (version 1 and 2)
in both 32 and 64 bit modes.
Please review.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
--
| Jun 9, 6:33 pm 2008 |
| Adrian Bunk | [2.6 patch] remove unused #include <linux/dirent.h>'s
This patch removes some unused #include <linux/dirent.h>'s.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
arch/mips/kernel/linux32.c | 1 -
fs/compat_ioctl.c | 1 -
fs/smbfs/cache.c | 1 -
fs/smbfs/proc.c | 1 -
include/linux/nfsd/nfsd.h | 1 -
5 files changed, 5 deletions(-)
95351d35188d388bcd1d95e71dd7eefac51ba027 diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c
index 65af3cc..09e79ea 100644
--- a/arch/mip...
| Jun 9, 6:27 pm 2008 |
| Adrian Bunk | [2.6 patch] jfs: remove DIRENTSIZ
After fat gets fixed the unused DIRENTSIZ macro was the last user of
struct dirent we should get rid of since the kernel and userspace
versions differed.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
89432c9b7ff2cd2e29fc5f2edde120dc38a89f46 diff --git a/fs/jfs/jfs_dtree.h b/fs/jfs/jfs_dtree.h
index cdac2d5..2545bb3 100644
--- a/fs/jfs/jfs_dtree.h
+++ b/fs/jfs/jfs_dtree.h
@@ -243,9 +243,6 @@ typedef union {
#define JFS_REMOVE 3
#define JFS_RENAME 4
-#define DIRENTSIZ(namlen) \
...
| Jun 9, 6:27 pm 2008 |
| Adrian Bunk | [2.6 patch] scsi/dpt_i2o.c: fix compilation on ia64
This patch fixes the following compile error:
<-- snip -->
...
CC drivers/scsi/dpt_i2o.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/scsi/dpt_i2o.c:83: error: 'PROC_IA64' undeclared here (not in a function)
make[3]: *** [drivers/scsi/dpt_i2o.o] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
631dedfbf9e2a9720dd6ecd382c0568372c3e436 diff --git a/drivers/scsi/dpt/dptsig.h b/drivers/scs...
| Jun 9, 6:26 pm 2008 |
| Adrian Bunk | [2.6 patch] sound/oss/dmasound/: cleanups
This patch contains the following cleanups:
- make the following needlessly global functions static:
- dmasound_core.c: get_afmt_string()
- dmasound_paula.c: dmasound_paula_init()
- dmasound_q40.c: dmasound_q40_init()
- remove the following unused global variable:
- dmasound_core.c: software_input_volume
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
sound/oss/dmasound/dmasound_core.c | 7 +------
sound/oss/dmasound/dmasound_paula.c | 2 +-
sound/oss/dmasound/dmasoun...
| Jun 9, 6:26 pm 2008 |
| Adrian Bunk | [2.6 patch] make macfb_setup() static
This patch makes the needlessly global macfb_setup() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
aa311d90b78850adac704e0fb056b77e5eec4bfe diff --git a/drivers/video/macfb.c b/drivers/video/macfb.c
index aa8c714..b790ddf 100644
--- a/drivers/video/macfb.c
+++ b/drivers/video/macfb.c
@@ -596,7 +596,7 @@ static struct fb_ops macfb_ops = {
.fb_imageblit = cfb_imageblit,
};
-void __init macfb_setup(char *options)
+static void __init macfb_setup(char *options)
{
char *...
| Jun 9, 6:26 pm 2008 |
| Adrian Bunk | [2.6 patch] drivers/video/amifb.c cleanups
This patch contains the following cleanups:
- make the needlessly global amifb_init() static
- rename cleanup_module() to amifb_exit(),
make it static __exit,
use module_exit(),
there's no need to #ifdef MODULE it
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/video/amifb.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
65ed788eed9849172f7dcf0522a4794e5ef3d804 diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index 05a328c..6dea0...
| Jun 9, 6:24 pm 2008 |
| Adrian Bunk | [2.6 patch] drivers/scsi/a3000.c: make 2 functions static
a3000_{detect,release}() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/scsi/a3000.c | 6 ++++--
drivers/scsi/a3000.h | 3 ---
2 files changed, 4 insertions(+), 5 deletions(-)
85a02587af2fff4f03fcecf3bb0f61fbe1cfadc3 diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c
index 8b449d8..6970ce8 100644
--- a/drivers/scsi/a3000.c
+++ b/drivers/scsi/a3000.c
@@ -25,6 +25,8 @@
static struct Scsi_Host *a3000_host = NULL;
+static int a3000_relea...
| Jun 9, 6:24 pm 2008 |
| Adrian Bunk | [2.6 patch] drivers/scsi/a2091.c: make 2 functions static
a2091_{detect,release}() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/scsi/a2091.c | 6 ++++--
drivers/scsi/a2091.h | 3 ---
2 files changed, 4 insertions(+), 5 deletions(-)
22558d3b8c3dcf29bb54d76256a64db89017dedc diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c
index 07d572f..f36029c 100644
--- a/drivers/scsi/a2091.c
+++ b/drivers/scsi/a2091.c
@@ -23,6 +23,8 @@
#define DMA(ptr) ((a2091_scsiregs *)((ptr)->base))
#define HDATA(ptr)...
| Jun 9, 6:24 pm 2008 |
| Adrian Bunk | [2.6 patch] drivers/macintosh/: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global code static:
- adb.c: adb_controller
- adb.c: adb_init()
- adbhid.c: adb_to_linux_keycodes[]
- via-pmu68k.c: backlight_level
- via-pmu68k.c: backlight_enabled
- remove the following unused code:
- via-pmu68k.c: sleep_notifier_list
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/macintosh/adb.c | 5 ++---
drivers/macintosh/adbhid.c | 2 +-
drivers/macinto...
| Jun 9, 6:23 pm 2008 |
| Adrian Bunk | [2.6 patch] make q40kbd_lock static
This patch makes the needlessly global q40kbd_lock static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
1bf64b91d180438d8810ea49a02687657d3a488e diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
index d962a8d..52a531b 100644
--- a/drivers/input/serio/q40kbd.c
+++ b/drivers/input/serio/q40kbd.c
@@ -49,7 +49,7 @@ MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
MODULE_DESCRIPTION("Q40 PS/2 keyboard controller driver");
MODULE_LICENSE("GPL");
-DEFINE_S...
| Jun 9, 6:23 pm 2008 |
| Adrian Bunk | [2.6 patch] m68k/sun3/: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global code static:
- config.c: sun3_bootmem_alloc()
- config.c: sun3_sched_init()
- dvma.c: dvma_page()
- idprom.c: struct Sun_Machines[]
- mmu_emu.c: struct ctx_alloc[]
- sun3dvma.c: iommu_use[]
- sun3ints.c: led_pattern[]
- remove the unused sbus.c
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
arch/m68k/sun3/Makefile | 2 +-
arch/m68k/sun3/config.c | 7 ++++---
ar...
| Jun 9, 6:23 pm 2008 |
| Adrian Bunk | [2.6 patch] m68k/q40/config.c: make functions static
This patch makes the following needlessly global functions static:
- q40_reset()
- q40_halt()
- q40_disable_irqs()
- q40_gettimeoffset()
- q40_hwclk()
- q40_get_ss()
- q40_set_clock_mmss()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
arch/m68k/q40/config.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
f7f0479cf9fd335f7b8a52cb4ef008181bcdf4d4 diff --git a/arch/m68k/q40/config.c b/arch/m68k/q40/config.c
index 476e18e..be9de2f 100644
--- a...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] m68k/mac/: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global code (always) static:
- baboon.c: struct baboon
- baboon.c: baboon_irq()
- config.c: mac_orig_videoaddr
- config.c: mac_identify()
- config.c: mac_report_hardware()
- config.c: mac_debug_console_write()
- config.c: mac_sccb_console_write()
- config.c: mac_scca_console_write()
- config.c: mac_init_scc_port()
- oss.c: oss_irq()
- oss.c: oss_nubus_irq()
- psc.c: psc_debug_dump()
-...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] m68k/atari/debug.c: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global functions (always) static:
- atari_mfp_console_write()
- atari_scc_console_write()
- atari_midi_console_write()
- atari_init_mfp_port()
- atari_init_scc_port()
- atari_init_midi_port()
- #if 0 the following unused functions:
- atari_mfp_console_wait_key()
- atari_scc_console_wait_key()
- atari_midi_console_wait_key()
- remove the following unused variables:
- atari_MFP_init_done
- ...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] m68k/amiga/: possible cleanups
This patch contains the following possible cleanups:
- amiints.c: add a proper prototype for amiga_init_IRQ() in
include/asm-m68k/amigaints.h
- make the following needlessly global code static:
- config.c: amiga_model
- config.c: amiga_psfreq
- config.c: amiga_serial_console_write()
- #if 0 the following unused functions:
- config.c: amiga_serial_puts()
- config.c: amiga_serial_console_wait_key()
- config.c: amiga_serial_gets()
- remove the following unused variable:
...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] export c2p
This patch fixes the following build error:
<-- snip -->
...
Building modules, stage 2.
MODPOST 1203 modules
ERROR: "c2p" [drivers/video/amifb.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
771aaffb33351e9243dd1ff47150f2bb0a32d8f2 diff --git a/drivers/video/c2p.c b/drivers/video/c2p.c
index 03ceb1a..376bc07 100644
--- a/drivers/video/c2p.c
+++...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] export amiga_vblank
This patch fixes the following build error:
<-- snip -->
...
Building modules, stage 2.
MODPOST 1203 modules
ERROR: "amiga_vblank" [drivers/video/amifb.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
d087380beb0b6a63699bc167b4b012e9e02549e9 diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c
index 50f5daa..dd0734e 100644
--- a/arch/...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] add missing lance_* exports
This patch fixes the following build error:
<-- snip -->
...
Building modules, stage 2.
MODPOST 1203 modules
ERROR: "lance_open" [drivers/net/mvme147.ko] undefined!
ERROR: "lance_close" [drivers/net/mvme147.ko] undefined!
ERROR: "lance_tx_timeout" [drivers/net/mvme147.ko] undefined!
ERROR: "lance_set_multicast" [drivers/net/mvme147.ko] undefined!
ERROR: "lance_start_xmit" [drivers/net/mvme147.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-b...
| Jun 9, 6:22 pm 2008 |
| Adrian Bunk | [2.6 patch] export ide_doubler
This patch fixes the following build error:
<-- snip -->
...
Building modules, stage 2.
MODPOST 1204 modules
ERROR: "ide_doubler" [drivers/ide/ide-core.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/ide/legacy/gayle.c | 4 ++++
1 file changed, 4 insertions(+)
01de9d4a09e34cdaa5f6f7f39c2733bb7fd7147d diff --git a/drivers/ide/lega...
| Jun 9, 6:22 pm 2008 |
| previous day | today | next day |
|---|---|---|
| June 8, 2008 | June 9, 2008 | June 10, 2008 |
| monstr | [PATCH 26/60] microblaze_v4: time support |
| Jon Smirl | Re: 463 kernel developers missing! |
| Andrew Morton | Re: x86: 4kstacks default |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Jiri Olsa | [PATCHv5 0/2] net: fix race in the receive/select |
