linux-stable-rt/arch/avr32/kernel
Andi Kleen 4a0b2b4dbe sysdev: Pass the attribute to the low level sysdev show/store function
This allow to dynamically generate attributes and share show/store
functions between attributes. Right now most attributes are generated
by special macros and lots of duplicated code. With the attribute
passed it's instead possible to attach some data to the attribute
and then use that in shared low level functions to do different things.

I need this for the dynamically generated bank attributes in the x86
machine check code, but it'll allow some further cleanups.

I converted all users in tree to the new show/store prototype. It's a single
huge patch to avoid unbisectable sections.

Runtime tested: x86-32, x86-64
Compiled only: ia64, powerpc
Not compile tested/only grep converted: sh, arm, avr32

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 21:55:02 -07:00
..
Makefile
asm-offsets.c
avr32_ksyms.c avr32: export strnlen_user 2008-05-26 13:26:36 +02:00
cpu.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
entry-avr32b.S avr32: Cover the kernel page tables in the user PGDs 2008-07-02 11:01:29 +02:00
head.S
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
irq.c
kprobes.c
module.c
nmi_debug.c
ocd.c
process.c
ptrace.c
setup.c
signal.c avr32: Fix sigaltstack behaviour 2008-06-27 15:07:35 +02:00
stacktrace.c stacktrace: export save_stack_trace[_tsk] 2008-07-03 09:17:55 +02:00
switch_to.S
sys_avr32.c
syscall-stubs.S
syscall_table.S
time.c avr32: Clean up time.c #includes 2008-06-27 17:48:04 +02:00
traps.c
vmlinux.lds.S Merge branch 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-14 15:28:10 -07:00