remarkable-linux/drivers
Parag Warudkar 01e8ef11bc x86: sysfs: kill owner field from attribute
Tejun's commit 7b595756ec made sysfs
attribute->owner unnecessary.  But the field was left in the structure to
ease the merge.  It's been over a year since that change and it is now
time to start killing attribute->owner along with its users - one arch at
a time!

This patch is attempt #1 to get rid of attribute->owner only for
CONFIG_X86_64 or CONFIG_X86_32 .  We will deal with other arches later on
as and when possible - avr32 will be the next since that is something I
can test.  Compile (make allyesconfig / make allmodconfig / custom config)
and boot tested.

akpm: the idea is that we put the declaration of sttribute.owner inside
`#ifndef CONFIG_X86'.  But that proved to be too ambitious for now because
new usages kept on turning up in subsystem trees.

[akpm: remove the ifdef for now]
Signed-off-by: Parag Warudkar <parag.lkml@gmail.com>
Cc: Greg KH <greg@kroah.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:42 -07:00
..
accessibility
acpi x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
amba
ata
atm
auxdisplay
base memory_probe: fix wrong sysfs file attribute 2008-10-20 08:52:32 -07:00
block x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
bluetooth
cdrom
char rtc: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac edac cell: fix incorrect edac_mode 2008-10-20 08:52:40 -07:00
eisa
firewire
firmware x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
gpio gpiolib: fix oops in gpio_get_value_cansleep() 2008-10-20 08:52:36 -07:00
gpu drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831) 2008-10-18 07:18:05 +10:00
hid USB: remove warn macro from HID core 2008-10-17 14:41:09 -07:00
hwmon hwmon: applesmc: lighter wait mechanism, drastic improvement 2008-10-20 08:52:35 -07:00
i2c x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
ide
ieee1394
infiniband x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
input USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
isdn
leds
lguest
macintosh
mca
md Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-10-17 09:00:23 -07:00
media byteorder: remove direct includes of linux/byteorder/swab[b].h 2008-10-20 08:52:40 -07:00
memstick x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
message
mfd
misc HP-WMI: additional keycode (or typo) 2008-10-20 08:52:34 -07:00
mmc
mtd USB: remove info() macro from usb mtd drivers 2008-10-17 14:41:10 -07:00
net USB: remove info() macro from usb network drivers 2008-10-17 14:41:10 -07:00
nubus
of
oprofile
parisc
parport
pci intel-iommu: typo fix and correct word in the comment 2008-10-20 08:52:34 -07:00
pcmcia
pnp
power x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
ps3
rapidio
regulator
rtc x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
s390 Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block 2008-10-17 09:29:55 -07:00
sbus
scsi x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
serial Altix serial: fix 2008-10-20 08:52:36 -07:00
sh
sn
spi
ssb
staging
tc
telephony phonedev: remove BKL 2008-10-20 08:52:36 -07:00
thermal
uio
usb USB: remove err() macro from more usb drivers 2008-10-17 14:41:14 -07:00
video fb: convert lock/unlock_kernel() into local fb mutex 2008-10-20 08:52:36 -07:00
virtio
w1 x86: sysfs: kill owner field from attribute 2008-10-20 08:52:42 -07:00
watchdog
xen
zorro
Kconfig
Makefile