linux/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
..
asm-offsets.c avr32: use kbuild.h macros instead of defining macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
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 [AVR32] NMI debugging 2008-01-25 08:31:43 +01:00
kprobes.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
Makefile Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c [AVR32] Clean up exception handling code 2007-04-27 13:44:13 +02:00
nmi_debug.c [AVR32] NMI debugging 2008-01-25 08:31:43 +01:00
ocd.c libfs: allow error return from simple attributes 2008-02-08 09:22:34 -08:00
process.c avr32: Add hardware power-down function call 2008-04-19 20:40:11 -04:00
ptrace.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
setup.c atmel_lcdfb: don't initialize a pre-allocated framebuffer 2008-04-28 08:58:38 -07:00
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 unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
syscall_table.S Fix timerfd breakage on avr32 2008-02-05 14:37:15 -08:00
syscall-stubs.S
time.c avr32: Clean up time.c #includes 2008-06-27 17:48:04 +02:00
traps.c avr32: Build fix for CONFIG_BUG=n 2008-03-13 23:56:15 +01:00
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