android_kernel_xiaomi_sm8350/arch/ia64
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
..
configs [IA64] move defconfig to arch/ia64/configs/ 2008-03-04 14:19:06 -08:00
dig
hp simserial: Fix up for ldisc changes 2008-07-20 17:12:34 -07:00
ia32 [IA64] fix personality(PER_LINUX32) performance issue 2008-05-15 09:54:19 -07:00
kernel sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
kvm KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction 2008-07-20 12:42:40 +03:00
lib
mm [IA64] fix personality(PER_LINUX32) performance issue 2008-05-15 09:54:19 -07:00
oprofile
pci PCI: ia64: use generic pci_enable_resources() 2008-04-20 21:47:05 -07:00
scripts
sn Merge branch 'generic-ipi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-15 14:12:03 -07:00
uv [IA64] Fix CONFIG_IA64_SGI_UV build error 2008-06-16 09:02:03 -07:00
install.sh
Kconfig [IA64] Remove experimental status of kdump 2008-07-17 11:29:46 -07:00
Kconfig.debug
Makefile Pull pvops into release branch 2008-07-17 10:53:37 -07:00
module.lds