kernel-fxtec-pro1x/include/linux
Ingo Molnar a263898f62 CPU hotplug: fix cpu_is_offline() on !CONFIG_HOTPLUG_CPU
make randconfig bootup testing found that the cpufreq code
crashes on bootup, if the powernow-k8 driver is enabled and
if maxcpus=1 passed on the boot line to a !CONFIG_HOTPLUG_CPU
kernel.

First lockdep found out that there's an inconsistent unlock
sequence:

 =====================================
 [ BUG: bad unlock balance detected! ]
 -------------------------------------
 swapper/1 is trying to release lock (&per_cpu(cpu_policy_rwsem, cpu)) at:
 [<ffffffff806ffd8e>] unlock_policy_rwsem_write+0x3c/0x42
 but there are no more locks to release!

Call Trace:
 [<ffffffff806ffd8e>] unlock_policy_rwsem_write+0x3c/0x42
 [<ffffffff80251c29>] print_unlock_inbalance_bug+0x104/0x12c
 [<ffffffff80252f3a>] mark_held_locks+0x56/0x94
 [<ffffffff806ffd8e>] unlock_policy_rwsem_write+0x3c/0x42
 [<ffffffff807008b6>] cpufreq_add_dev+0x2a8/0x5c4
 ...

then shortly afterwards the cpufreq code crashed on an assert:

 ------------[ cut here ]------------
 kernel BUG at drivers/cpufreq/cpufreq.c:1068!
 invalid opcode: 0000 [1] SMP
 [...]
 Call Trace:
  [<ffffffff805145d6>] sysdev_driver_unregister+0x5b/0x91
  [<ffffffff806ff520>] cpufreq_register_driver+0x15d/0x1a2
  [<ffffffff80cc0596>] powernowk8_init+0x86/0x94
 [...]
 ---[ end trace 1e9219be2b4431de ]---

the bug was caused by maxcpus=1 bootup, which brought up the
secondary core as !cpu_online() but !cpu_is_offline() either,
which on on !CONFIG_HOTPLUG_CPU is always 0 (include/linux/cpu.h):

  /* CPUs don't go offline once they're online w/o CONFIG_HOTPLUG_CPU */
  static inline int cpu_is_offline(int cpu) { return 0; }

but the cpufreq code uses cpu_online() and cpu_is_offline() in
a mixed way - the low-level drivers use cpu_online(), while
the cpufreq core uses cpu_is_offline(). This opened up the
possibility to add the non-initialized sysdev device of the
secondary core:

 cpufreq-core: trying to register driver powernow-k8
 cpufreq-core: adding CPU 0
 powernow-k8: BIOS error - no PSB or ACPI _PSS objects
 cpufreq-core: initialization failed
 cpufreq-core: adding CPU 1
 cpufreq-core: initialization failed

which then blew up. The fix is to make cpu_is_offline() always
the negation of cpu_online(). With that fix applied the kernel
boots up fine without crashing:

 Calling initcall 0xffffffff80cc0510: powernowk8_init+0x0/0x94()
 powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ processors (1 cpu cores) (version 2.20.00)
 powernow-k8: BIOS error - no PSB or ACPI _PSS objects
 initcall 0xffffffff80cc0510: powernowk8_init+0x0/0x94() returned -19.
 initcall 0xffffffff80cc0510 ran for 19 msecs: powernowk8_init+0x0/0x94()
 Calling initcall 0xffffffff80cc328f: init_lapic_nmi_sysfs+0x0/0x39()

We could fix this by making CPU enumeration aware of max_cpus, but that
would be more fragile IMO, and the cpu_online(cpu) != cpu_is_offline(cpu)
possibility was quite confusing and a continuous source of bugs too.

Most distributions have kernels with CPU hotplug enabled, so this bug
remained hidden for a long time.

Bug forensics:

The broken cpu_is_offline() API variant was introduced via:

 commit a59d2e4e6977e7b94e003c96a41f07e96cddc340
 Author: Rusty Russell <rusty@rustcorp.com.au>
 Date:   Mon Mar 8 06:06:03 2004 -0800

     [PATCH] minor cleanups for hotplug CPUs

( this predates linux-2.6.git, this commit is available from Thomas's
  historic git tree. )

Then 1.5 years later the cpufreq code made use of it:

 commit c32b6b8e52
 Author: Ashok Raj <ashok.raj@intel.com>
 Date:   Sun Oct 30 14:59:54 2005 -0800

     [PATCH] create and destroy cpufreq sysfs entries based on cpu notifiers

 +       if (cpu_is_offline(cpu))
 +               return 0;

which is a correct use of the subtly broken new API. v2.6.15 then
shipped with this bug included.

then it took two more years for random-kernel qa to hit it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-06 12:39:42 -08:00
..
amba
byteorder
dvb V4L/DVB (5893): DVB: fix includes of video.h when __KERNEL__ is undefined 2007-07-30 16:26:27 -03:00
hdlc
isdn
lockd
mlx4 mlx4_core: Kill mlx4_write64_raw() 2007-10-14 20:17:39 -07:00
mmc mmc: remove unused 'mode' from the mmc_host structure 2007-12-12 20:01:01 +01:00
mtd [MTD] [NOR] fix ctrl-alt-del can't reboot for intel flash bug 2007-10-13 14:36:18 +01:00
netfilter [NETFILTER]: Sort matches/targets in Kbuild file 2007-11-07 04:08:21 -08:00
netfilter_arp [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
netfilter_bridge [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
netfilter_ipv4 [NETFILTER]: Sort matches/targets in Kbuild file 2007-11-07 04:08:21 -08:00
netfilter_ipv6 [NETFILTER]: Sort matches/targets in Kbuild file 2007-11-07 04:08:21 -08:00
nfsd fs/nfsd/export.c: make 3 functions static 2007-10-16 09:43:10 -07:00
raid bitmap.h: remove dead artifacts 2007-10-17 08:43:03 -07:00
rtc
spi Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa 2007-10-16 10:13:38 -07:00
ssb [SSB]: add Sonics Silicon Backplane bus support 2007-10-10 16:51:36 -07:00
sunrpc SUNRPC: make sunrpc/xprtsock.c:xs_setup_{udp,tcp}() static 2007-11-26 16:24:50 -05:00
tc_act [NET] tc_nat: header install 2007-12-26 19:36:35 -08:00
tc_ematch
usb docbook: fix usb content 2007-10-15 17:56:36 -07:00
8250_pci.h
a.out.h
ac97_codec.h
acct.h
acpi.h ACPI: fix two IRQ8 issues in IOAPIC mode 2007-11-20 01:16:29 -05:00
acpi_pmtmr.h
adb.h
adfs_fs.h
adfs_fs_i.h
adfs_fs_sb.h
aer.h PCI AER: fix warnings when PCIEAER=n 2007-09-11 04:22:16 -07:00
affs_hardblocks.h
agp_backend.h
agpgart.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
aio.h Remove struct task_struct::io_wait 2007-10-18 14:37:20 -07:00
aio_abi.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
apm-emulation.h
apm_bios.h apm_event{,info}_t are userspace types 2007-12-17 19:28:16 -08:00
arcdevice.h arcnet endianness annotations 2007-10-10 16:51:59 -07:00
arcfb.h
async_tx.h
ata.h libata: add more opcodes to ata.h 2007-12-17 20:33:12 -05:00
atalk.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_suni.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmel-ssc.h Driver for the Atmel on-chip SSC on AT32AP and AT91 2007-10-17 08:42:47 -07:00
atmel_pdc.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
attribute_container.h
audit.h [PATCH] audit: watching subtrees 2007-10-21 02:37:45 -04:00
auto_fs.h
auto_fs4.h
auxvec.h increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h mm: per device dirty threshold 2007-10-17 08:42:45 -07:00
backlight.h backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
baycom.h
bcd.h
bfs_fs.h
binfmts.h Implement file posix capabilities 2007-10-17 08:43:07 -07:00
bio.h block: Initial support for data-less (or empty) barrier support 2007-10-16 11:03:56 +02:00
bit_spinlock.h bit_spin_lock: use lock bitops 2007-10-18 14:37:29 -07:00
bitmap.h remove BITS_TO_TYPE macro 2007-10-19 11:53:42 -07:00
bitops.h remove BITS_TO_TYPE macro 2007-10-19 11:53:42 -07:00
bitrev.h
blkdev.h Add UNPLUG traces to all appropriate places 2007-11-09 13:41:32 +01:00
blkpg.h
blktrace_api.h [BLOCK] Better fix for do_blk_trace_setup() for !CONFIG_BLOCK 2007-10-12 12:50:07 +02:00
blockgroup_lock.h
bootmem.h Revert "x86_64: allocate sparsemem memmap above 4G" 2007-10-29 14:05:37 -07:00
bottom_half.h
bpqether.h
bsg.h [SCSI] bsg: update sg_io_v4 structure 2007-07-31 10:43:05 -05:00
buffer_head.h fs: restore nobh 2007-10-16 09:42:58 -07:00
bug.h
cache.h
calc64.h
capability.h capabilities: clean up file capability reading 2007-10-22 08:13:18 -07:00
capi.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h Typo: depricated -> deprecated 2007-10-20 03:10:57 +02:00
cfag12864b.h
cgroup.h Add cgroupstats 2007-10-19 11:53:36 -07:00
cgroup_subsys.h sched: cpu accounting controller (V2) 2007-12-02 20:04:49 +01:00
cgroupstats.h Add cgroupstats 2007-10-19 11:53:36 -07:00
chio.h
circ_buf.h
clk.h
clockchips.h clockevents: introduce force broadcast notifier 2007-10-14 22:57:45 +02:00
clocksource.h Fix discrepancy between VDSO based gettimeofday() and sys_gettimeofday(). 2007-10-18 14:37:20 -07:00
cm4000_cs.h
cn_proc.h
coda.h
coda_cache.h
coda_fs_i.h
coda_linux.h
coda_psdev.h
coff.h
com20020.h
compat.h
compiler-gcc.h Replace __attribute_pure__ with __pure 2007-10-18 14:37:32 -07:00
compiler-gcc3.h Force erroneous inclusions of compiler-*.h files to be errors 2007-10-17 08:42:47 -07:00
compiler-gcc4.h Force erroneous inclusions of compiler-*.h files to be errors 2007-10-17 08:42:47 -07:00
compiler-intel.h Force erroneous inclusions of compiler-*.h files to be errors 2007-10-17 08:42:47 -07:00
compiler.h Permit silencing of __deprecated warnings. 2007-10-25 15:10:17 -07:00
completion.h sched: fix fastcall mismatch in completion APIs 2007-10-24 18:23:48 +02:00
comstats.h
concap.h
configfs.h
connector.h uvesafb: add connector entries 2007-10-16 09:43:13 -07:00
console.h serial: turn serial console suspend a boot rather than compile time option 2007-10-18 14:37:19 -07:00
console_struct.h vt/vgacon: Check if screen resize request comes from userspace 2007-10-16 09:43:20 -07:00
consolemap.h unicode diacritics support 2007-10-17 08:42:52 -07:00
const.h
cpu.h CPU hotplug: fix cpu_is_offline() on !CONFIG_HOTPLUG_CPU 2008-01-06 12:39:42 -08:00
cpufreq.h [CPUFREQ] implement !CONFIG_CPU_FREQ stub for cpufreq_unregister_notifier() 2007-10-04 18:40:57 -04:00
cpuidle.h cpuidle: fix HP nx6125 regression 2007-11-19 21:43:22 -05:00
cpumask.h CPU hotplug: fix cpu_is_offline() on !CONFIG_HOTPLUG_CPU 2008-01-06 12:39:42 -08:00
cpuset.h hotplug cpu: migrate a task within its cpuset 2007-10-19 11:53:44 -07:00
cramfs_fs.h cramfs: error message about endianess 2007-10-17 08:42:53 -07:00
cramfs_fs_sb.h
crash_dump.h
crc-ccitt.h
crc-itu-t.h
crc7.h
crc16.h
crc32.h
crc32c.h
crypto.h crypto: convert crypto.h to UTF-8 2007-10-19 23:07:36 +02:00
cryptohash.h
ctype.h
cuda.h
cyclades.h Char: cyclades, fix some -W warnings 2007-10-18 14:37:26 -07:00
cyclomx.h
cycx_cfm.h
cycx_drv.h
cycx_x25.h
dca.h DCA: Add Direct Cache Access driver 2007-10-16 09:43:09 -07:00
dcache.h [PATCH] audit: watching subtrees 2007-10-21 02:37:45 -04:00
dccp.h [DCCP]: Convert Reset code into socket error number 2007-10-24 10:27:48 -02:00
dcookies.h
debug_locks.h
debugfs.h debugfs: helper for decimal challenged 2007-10-12 14:51:03 -07:00
delay.h
delayacct.h Add cgroupstats 2007-10-19 11:53:36 -07:00
device-mapper.h dm: merge max_hw_sector 2007-12-20 17:32:12 +00:00
device.h Revert "Driver core: remove class_device_*_bin_file" 2007-10-31 12:51:29 -07:00
devpts_fs.h
dio.h
dirent.h
display.h
dlm.h
dlm_device.h
dlm_netlink.h
dm-ioctl.h dm io:ctl use constant struct size 2007-10-20 02:00:58 +01:00
dm9000.h
dma-mapping.h stop using DMA_xxBIT_MASK 2007-10-18 14:37:21 -07:00
dmaengine.h
dmapool.h
dmar.h Intel IOMMU: DMAR fault handling support 2007-10-22 08:13:19 -07:00
dmi.h drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
dn.h
dnotify.h
dqblk_v1.h
dqblk_v2.h
dqblk_xfs.h
ds1wm.h
ds1286.h
ds17287rtc.h
dtlk.h
edac.h
edd.h Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
eeprom_93cx6.h ax88796: add 93cx6 eeprom support 2007-10-10 16:53:56 -07:00
efi.h kexec: add BSS to resource tree 2007-10-22 08:13:19 -07:00
efs_dir.h
efs_fs.h efs: new export ops 2007-10-22 08:13:20 -07:00
efs_fs_i.h
efs_fs_sb.h
efs_vh.h
eisa.h
elevator.h block: let elv_register() return void 2007-12-18 08:29:28 +01:00
elf-em.h
elf-fdpic.h
elf.h increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
elfcore-compat.h Add linux/elfcore-compat.h 2007-10-17 08:42:51 -07:00
elfcore.h
elfnote.h
err.h
errno.h
errqueue.h
etherdevice.h [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
ethtool.h [ETHTOOL]: Introduce ->{get,set}_priv_flags, ETHTOOL_[GS]PFLAGS 2007-10-10 16:48:08 -07:00
eventfd.h
eventpoll.h x86 merge fallout: uml 2007-10-29 07:41:32 -07:00
exportfs.h exportfs: update documentation 2007-10-22 08:13:21 -07:00
ext2_fs.h fix up ext2_fs.h for userspace after reservations backport 2007-11-29 09:24:53 -08:00
ext2_fs_sb.h ext2 reservations 2007-10-17 08:43:02 -07:00
ext3_fs.h Fix 64KB blocksize in ext3 directories 2007-11-14 18:45:43 -08:00
ext3_fs_i.h
ext3_fs_sb.h ext3: show all mount options 2007-10-17 08:42:48 -07:00
ext3_jbd.h
ext4_fs.h ext4: Convert s_r_blocks_count and s_free_blocks_count 2007-10-17 18:50:02 -04:00
ext4_fs_extents.h ext4: Convert ext4_extent_idx.ei_leaf to ext4_extent_idx.ei_leaf_lo 2007-10-17 18:50:03 -04:00
ext4_fs_i.h ext4: Remove (partial, never completed) fragment support 2007-10-17 18:49:59 -04:00
ext4_fs_sb.h ext4: Remove (partial, never completed) fragment support 2007-10-17 18:49:59 -04:00
ext4_jbd2.h jbd2: JBD_XXX to JBD2_XXX naming cleanup 2007-10-17 18:49:58 -04:00
f75375s.h hwmon: (f75375s) Allow setting up fans with platform_data 2007-11-08 08:42:46 -05:00
fadvise.h
falloc.h
fault-inject.h
fb.h fb: move and rename extern declaration for global_mode_option 2007-10-16 09:43:22 -07:00
fcdevice.h
fcntl.h F_DUPFD_CLOEXEC implementation 2007-10-17 08:43:01 -07:00
fd.h
fd1772.h
fddidevice.h
fdreg.h
fib_rules.h
file.h r/o bind mounts: filesystem helpers for custom 'struct file's 2007-10-17 08:43:04 -07:00
filter.h [NET]: Introduce the sk_detach_filter() call 2007-10-17 21:21:26 -07:00
firewire-cdev.h firewire: adopt read cycle timer ABI from raw1394 2007-10-17 00:00:08 +02:00
firewire-constants.h
firmware.h
flat.h
font.h
freezer.h freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
fs.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
fs_enet_pd.h fs_enet: Be an of_platform device when CONFIG_PPC_CPM_NEW_BINDING is set. 2007-10-10 16:54:03 -07:00
fs_stack.h
fs_struct.h
fs_uart_pd.h
fsl_devices.h
fsnotify.h [PATCH] pass dentry to audit_inode()/audit_inode_child() 2007-10-21 02:37:18 -04:00
fuse.h fuse: pass open flags to read and write 2007-11-29 09:24:54 -08:00
futex.h kernel/futex.c: make 3 functions static 2007-11-05 21:53:46 +11:00
gameport.h
gen_stats.h
genalloc.h
generic_acl.h
generic_serial.h
genetlink.h
genhd.h [PARTITION] MSDOS: Fix Sun num_partitions handling. 2007-07-30 00:27:28 -07:00
getcpu.h
gfp.h Print out statistics in relation to fragmentation avoidance to /proc/pagetypeinfo 2007-10-16 09:43:00 -07:00
gfs2_ondisk.h [GFS2] Fix quota do_list operation hang 2007-10-10 08:55:27 +01:00
gigaset_dev.h
gpio_keys.h Input: gpio-keys - add suspend/resume support 2007-09-26 00:01:17 -04:00
gpio_mouse.h
hardirq.h
harrier_defs.h
hash.h
hayesesp.h
hdlc.h
hdlcdrv.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
hdpu_features.h
hdreg.h
hdsmart.h
hid-debug.h
hid.h get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
hiddev.h
hidraw.h HID: fix HIDIOCGRDESC memory access in hidraw 2007-10-15 08:12:00 -07:00
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hp_sdc.h
hpet.h
hrtimer.h hrtimer: Rework hrtimer_nanosleep to make sys_compat_nanosleep easier 2007-10-18 22:54:18 +02:00
htirq.h
hugetlb.h Revert "hugetlb: Add hugetlb_dynamic_pool sysctl" 2007-12-17 19:28:17 -08:00
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h hwmon: Convert from class_device to device 2007-10-09 22:56:30 -04:00
hysdn_if.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-algo-sgi.h
i2c-dev.h i2c: Move i2c-dev interfaces to i2c-dev.h 2007-10-13 23:56:32 +02:00
i2c-gpio.h
i2c-id.h [ALSA] ASoC CS4270 codec device driver 2007-10-16 15:58:19 +02:00
i2c-ocores.h
i2c-pnx.h
i2c-pxa.h
i2c.h i2c: Make i2c_check_addr static 2007-11-15 19:24:02 +01:00
i2o-dev.h
i2o.h i2o: sg chaining support 2007-10-16 11:21:00 +02:00
i8k.h
i8042.h Input: i8042 - export i8042_command() 2007-10-22 00:56:52 -04:00
ibmtr.h
icmp.h
icmpv6.h
ide.h ide: DMA reporting and validity checking fixes (take 3) 2007-12-12 23:31:58 +01:00
idr.h
ieee80211.h [PATCH] wireless networking: move frame inline functions to generic header 2007-10-10 16:52:59 -07:00
if.h
if_addr.h
if_arcnet.h arcnet endianness annotations 2007-10-10 16:51:59 -07:00
if_arp.h
if_bonding.h bonding: Add new layer2+3 hash for xor/802.3ad modes 2007-12-07 15:00:32 -05:00
if_bridge.h [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
if_cablemodem.h
if_ec.h
if_eql.h [NET] drivers/net: statistics cleanup #1 -- save memory and shrink code 2007-10-10 16:51:16 -07:00
if_ether.h [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
if_fc.h
if_fddi.h include linux/types.h in if_fddi.h 2007-10-17 08:42:52 -07:00
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h [NET]: netlink support for moving devices between network namespaces. 2007-10-10 16:49:13 -07:00
if_ltalk.h
if_macvlan.h
if_packet.h
if_plip.h
if_ppp.h
if_pppol2tp.h [PPPOL2TP]: Fix endianness annotations. 2007-08-26 18:35:42 -07:00
if_pppox.h pppoe: endianness 2007-10-10 16:52:04 -07:00
if_shaper.h [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
if_slip.h
if_strip.h
if_tr.h
if_tun.h [NET] drivers/net: statistics cleanup #1 -- save memory and shrink code 2007-10-10 16:51:16 -07:00
if_tunnel.h
if_vlan.h [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
if_wanpipe.h
igmp.h
in.h
in6.h
in_route.h
inet.h
inet_diag.h
inet_lro.h [LRO]: fix lro_gen_skb() alignment 2007-12-05 05:37:32 -08:00
inetdevice.h
init.h store __setup_str_* in a more compact way 2007-10-17 08:42:56 -07:00
init_task.h Isolate the explicit usage of signal->pgrp 2007-10-19 11:53:43 -07:00
initrd.h
inotify.h [PATCH] new helper - inotify_evict_watch() 2007-10-21 02:37:38 -04:00
input-polldev.h
input.h Input: adds the context menu key (HUT GenDesc 0x84) 2007-11-27 00:47:04 -05:00
interrupt.h Completely remove deprecated IRQ flags (SA_*) 2007-10-17 08:43:00 -07:00
io.h
ioc3.h
ioc4.h
ioctl.h
ioport.h memory unplug: memory hotplug cleanup 2007-10-16 09:43:01 -07:00
ioprio.h
ip.h
ip6_tunnel.h
ipc.h virtualization of sysv msg queues is incomplete 2007-10-19 11:53:48 -07:00
ipmi.h IPMI: add polled interface 2007-10-18 14:37:32 -07:00
ipmi_msgdefs.h
ipmi_smi.h IPMI: fix comparison in demangle_device_id 2007-10-30 08:06:55 -07:00
ipsec.h
ipv6.h [IPSEC]: Get rid of ipv6_{auth,esp,comp}_hdr 2007-10-10 16:55:55 -07:00
ipv6_route.h
ipx.h
irda.h
irq.h genirq: add unlocked version of set_irq_handler() 2007-12-18 18:05:58 +01:00
irq_cpustat.h
irqflags.h
irqreturn.h
isa.h Fix non-ISA link error in drivers/scsi/advansys.c 2007-09-16 21:13:58 -07:00
isapnp.h
isdn.h use mutex instead of semaphore in isdn subsystem common functions 2007-10-16 09:43:10 -07:00
isdn_divertif.h
isdn_ppp.h
isdnif.h
isicom.h
iso_fs.h
istallion.h
ivtv.h V4L/DVB (6123): ivtv: move ivtv.h public header to include/linux 2007-10-09 22:07:28 -03:00
ivtvfb.h V4L/DVB (6119): ivtvfb: renamed ivtv-fb to ivtvfb, move header to include/linux 2007-10-09 22:07:23 -03:00
ixjuser.h
jbd.h jbd: Fix assertion failure in fs/jbd/checkpoint.c 2007-12-05 09:21:20 -08:00
jbd2.h jbd2: JBD_XXX to JBD2_XXX naming cleanup 2007-10-17 18:49:58 -04:00
jffs2.h
jhash.h
jiffies.h slow down printk during boot 2007-10-16 09:42:49 -07:00
journal-head.h
joystick.h
kallsyms.h Missing include file in kallsyms.h 2007-11-05 15:12:32 -08:00
kbd_diacr.h unicode diacritics support 2007-10-17 08:42:52 -07:00
kbd_kern.h m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible 2007-08-22 19:52:45 -07:00
Kbuild [VETH]: move veth.h to include/linux 2007-12-26 19:36:35 -08:00
kd.h Fix <linux/kd.h> usage in userspace 2007-11-29 09:24:52 -08:00
kdebug.h kdebug.h: forward-declare struct struct notifier_block 2007-07-31 15:39:40 -07:00
kdev_t.h
kernel.h printk: add KERN_CONT annotation 2007-10-17 08:43:01 -07:00
kernel_stat.h Add scaled time to taskstats based process accounting 2007-10-18 14:37:28 -07:00
kernelcapi.h
kexec.h Extended crashkernel command line 2007-10-19 11:53:49 -07:00
key-type.h KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
key-ui.h
key.h KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
keyboard.h Console keyboard events and accessibility 2007-10-19 11:53:33 -07:00
keyctl.h
kfifo.h
klist.h
kmalloc_sizes.h
kmod.h
kobj_map.h
kobject.h kobject: update the copyrights 2007-10-12 14:51:12 -07:00
kprobes.h kprobes: support kretprobe blacklist 2007-10-16 09:43:10 -07:00
kref.h
ks0108.h
kthread.h
ktime.h [KTIME]: Introduce ktime_sub_ns and ktime_sub_us 2007-10-10 16:48:12 -07:00
kvm.h KVM: Replace enum by #define 2007-10-13 10:18:29 +02:00
kvm_para.h
lapb.h
latency.h
lcd.h
leds.h leds: Fix led trigger locking bugs 2007-12-07 09:06:53 +00:00
lguest.h lguest: documentation update 2007-10-25 15:02:50 +10:00
lguest_launcher.h lguest: documentation update 2007-10-25 15:02:50 +10:00
libata.h libata: fix ATAPI draining 2007-12-17 20:43:28 -05:00
libps2.h
license.h
limits.h
linkage.h add WEAK() for creating weak asm labels 2007-10-22 08:13:17 -07:00
linux_logo.h
list.h kernel-api docbook: fix content problems 2007-10-19 11:53:35 -07:00
llc.h
lm_interface.h
lock_dlm_plock.h
lockdep.h workqueue: debug flushing deadlocks with lockdep 2007-10-19 11:53:38 -07:00
log2.h Add a "rounddown_pow_of_two" routine to log2.h 2007-10-17 08:42:56 -07:00
loop.h loop.h build fix 2007-07-24 12:24:59 -07:00
lp.h
lzo.h
m41t00.h
m48t86.h
magic.h Task Control Groups: basic task cgroup framework 2007-10-19 11:53:36 -07:00
major.h
maple.h sh: Add maple bus support for the SEGA Dreamcast. 2007-09-21 15:55:55 +09:00
marker.h Linux Kernel Markers - Samples 2007-10-19 11:53:55 -07:00
matroxfb.h
mbcache.h
mc6821.h
mc146818rtc.h rtc: fall back to requesting only the ports we actually use 2007-11-14 18:45:41 -08:00
mca-legacy.h
mca.h
mdio-bitbang.h Generic bitbanged MDIO library 2007-10-10 16:54:03 -07:00
memory.h memory hotplug: make kmem_cache_node for SLUB on memory online avoid panic 2007-10-22 08:13:17 -07:00
memory_hotplug.h fix memory hot remove not configured case. 2007-10-16 09:43:02 -07:00
mempolicy.h Task Control Groups: make cpusets a client of cgroups 2007-10-19 11:53:36 -07:00
mempool.h
meye.h
migrate.h
mii.h
minix_fs.h
miscdevice.h
mm.h Security: round mmap hint address above mmap_min_addr 2007-12-06 00:25:10 +11:00
mm_inline.h
mm_types.h increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
mman.h
mmtimer.h
mmzone.h mm: test and set zone reclaim lock before starting reclaim 2007-10-17 08:42:46 -07:00
mnt_namespace.h
mod_devicetable.h Virtio interface 2007-10-23 15:49:54 +10:00
module.h Linux Kernel Markers 2007-10-19 11:53:54 -07:00
moduleloader.h
moduleparam.h constify string/array kparam tracking structures 2007-10-17 08:42:56 -07:00
mount.h
mpage.h
mqueue.h
mroute.h [IPV4]: Clean the ip_sockglue.c from some ugly ifdefs 2007-11-07 04:08:55 -08:00
msdos_fs.h
msg.h ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
msi.h
mtio.h
mutex-debug.h
mutex.h Mutex documentation is unclear about software interrupts, tasklets and timers 2007-10-17 08:42:57 -07:00
mv643xx.h mv643xx_eth: Move ethernet register definitions into private header 2007-10-23 08:23:00 -07:00
mv643xx_eth.h mv643xx_eth: Fix MV643XX_ETH offsets used by Pegasos 2 2007-10-30 14:32:16 -04:00
n_r3964.h
namei.h partially fix up the lookup_one_noperm mess 2007-10-17 08:42:44 -07:00
nbd.h NBD: allow hung network I/O to be cancelled 2007-10-17 08:42:55 -07:00
ncp.h
ncp_fs.h
ncp_fs_i.h
ncp_fs_sb.h
ncp_mount.h
ncp_no.h
neighbour.h
net.h [NET]: Add the helper kernel_sock_shutdown() 2007-11-12 18:10:39 -08:00
netdevice.h [NET]: docbook fixes for netif_ functions 2007-11-01 02:21:47 -07:00
netfilter.h [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
netfilter_arp.h
netfilter_bridge.h [NETFILTER]: bridge: fix missing link layer headers on outgoing routed packets 2007-12-14 13:54:39 -08:00
netfilter_decnet.h
netfilter_ipv4.h [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
netfilter_ipv6.h
netlink.h [NETLINK]: Fix unicast timeouts 2007-11-07 04:15:12 -08:00
netpoll.h [NET] netconsole: Support dynamic reconfiguration using configfs 2007-10-10 16:48:06 -07:00
netrom.h
nfs.h
nfs2.h
nfs3.h
nfs4.h
nfs4_acl.h
nfs4_mount.h
nfs_fs.h NFS: make nfs_wb_page_priority() static 2007-11-26 16:24:48 -05:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_idmap.h
nfs_mount.h
nfs_page.h NFS: Clean up write code... 2007-10-09 17:15:11 -04:00
nfs_xdr.h NFS: Fake up 'wcc' attributes to prevent cache invalidation after write 2007-10-09 17:19:15 -04:00
nfsacl.h
nfsd_idmap.h
nl80211.h [NL80211]: add netlink interface to cfg80211 2007-10-10 16:52:14 -07:00
nls.h add consts where appropriate in fs/nls/* 2007-10-17 08:42:58 -07:00
nmi.h
node.h
nodemask.h Memoryless nodes: Add N_CPU node state 2007-10-16 09:42:58 -07:00
notifier.h Console events and accessibility 2007-10-19 11:53:34 -07:00
nsc_gpio.h
nsproxy.h Make access to task's nsproxy lighter 2007-10-19 11:53:37 -07:00
nubus.h
numa.h
nvram.h
of.h remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
of_device.h [POWERPC] Move of_device allocation into of_device.[ch] 2007-10-17 22:30:07 +10:00
of_platform.h [SPARC/64]: Consolidate of_register_driver 2007-10-17 21:17:42 -07:00
oom.h oom: prevent including sched.h in header file 2007-10-17 08:42:46 -07:00
oprofile.h
page-flags.h
page-isolation.h memory unplug: page isolation 2007-10-16 09:43:02 -07:00
pageblock-flags.h memory unplug: page isolation 2007-10-16 09:43:02 -07:00
pagemap.h fs: introduce write_begin, write_end, and perform_write aops 2007-10-16 09:42:55 -07:00
pagevec.h
param.h
parport.h [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
parport_pc.h
parser.h
pata_platform.h
patchkey.h
pci-acpi.h
pci.h PCI: Add Kconfig option to disable deprecated pci_find_* API 2007-11-05 13:35:17 -08:00
pci_hotplug.h
pci_ids.h sdhci: support JMicron JMB38x chips 2007-12-12 20:01:00 +01:00
pci_regs.h PCI: modify PCI bridge control ISA flag for clarity 2007-10-12 15:03:18 -07:00
pcieport_if.h
pda_power.h
percpu.h
percpu_counter.h lib: percpu_counter_init_irq 2007-10-17 08:42:44 -07:00
personality.h
pfkeyv2.h
pfn.h
pg.h
phantom.h Misc: phantom, improved data passing 2007-10-19 11:53:41 -07:00
phonedev.h
phy.h PHY: Add the phy_device_release device method. 2007-12-04 15:06:33 -05:00
phy_fixed.h PHY fixed driver: rework release path and update phy_id notation 2007-10-10 16:53:50 -07:00
pid.h Uninline find_pid etc set of functions 2007-10-19 11:53:41 -07:00
pid_namespace.h pidns: Place under CONFIG_EXPERIMENTAL 2007-11-14 18:45:43 -08:00
pipe_fs_i.h
pkt_cls.h
pkt_sched.h [NET_SCHED]: Making rate table lookups more flexible. 2007-10-10 16:49:20 -07:00
pktcdvd.h
platform_device.h Driver core: Make platform_device.id an int 2007-10-12 14:51:07 -07:00
plist.h
pm.h PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
pm_legacy.h
pmu.h [POWERPC] Fix undefined reference to device_power_up/resume 2007-08-25 16:58:27 +10:00
pnp.h PNP: increase the maximum number of resources 2007-11-29 09:24:52 -08:00
pnpbios.h PNP: fix up after Lindent 2007-07-26 11:35:21 -07:00
poison.h jbd2: JBD_XXX to JBD2_XXX naming cleanup 2007-10-17 18:49:58 -04:00
poll.h Fix select on /proc files without ->poll 2007-09-11 17:21:20 -07:00
posix-timers.h
posix_acl.h
posix_acl_xattr.h
posix_types.h
power_supply.h
ppdev.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
prctl.h
preempt.h [PATCH] sched: arch preempt notifier mechanism 2007-07-26 13:40:43 +02:00
prefetch.h x86 & generic: change to __builtin_prefetch() 2007-10-19 20:35:04 +02:00
prio_heap.h Fix cpusets update_cpumask 2007-10-19 11:53:41 -07:00
prio_tree.h
proc_fs.h proc: fix proc_dir_entry refcounting 2007-12-05 09:21:20 -08:00
profile.h make kernel/profile.c:time_hook static 2007-10-17 08:42:55 -07:00
proportions.h lib: floating proportions 2007-10-17 08:42:45 -07:00
ps2esdi.h
ptrace.h restrict reading from /proc/<pid>/maps to those who share ->mm or can ptrace pid 2008-01-02 13:13:27 -08:00
qnx4_fs.h
qnxtypes.h
quicklist.h quicklists: do not release off node pages early 2007-12-23 12:54:36 -08:00
quota.h quota: send messages via netlink 2007-10-17 08:42:56 -07:00
quotaio_v1.h
quotaio_v2.h
quotaops.h
radeonfb.h
radix-tree.h radix-tree: use indirect bit 2007-10-16 09:42:53 -07:00
raid_class.h
ramfs.h
random.h
raw.h
rbtree.h
rcupdate.h Immunize rcu_dereference() against crazy compiler writers 2007-10-17 08:42:46 -07:00
reboot.h
reciprocal_div.h
reiserfs_acl.h
reiserfs_fs.h reiserfs: new export ops 2007-10-22 08:13:20 -07:00
reiserfs_fs_i.h
reiserfs_fs_sb.h reiserfs: remove first_zero_hint 2007-10-19 11:53:35 -07:00
reiserfs_xattr.h
relay.h
resource.h
resume-trace.h
rfkill.h [RFKILL]: Add support for hardware-only rfkill buttons 2007-10-10 16:54:11 -07:00
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
romfs_fs.h
root_dev.h
rose.h
route.h
rslib.h
rtc-v3020.h
rtc.h RTC: convert mutex to bitfield 2007-11-29 09:24:54 -08:00
rtmutex.h
rtnetlink.h [IPV6]: Add ifindex field to ND user option messages. 2007-11-12 17:58:35 -08:00
rwsem-spinlock.h
rwsem.h
rxrpc.h
sc26198.h
scatterlist.h scatterlist: add more safeguards 2007-11-27 09:30:39 +01:00
scc.h
sched.h sched: clean up, move __sched_text_start/end to sched.h 2007-11-28 15:52:56 +01:00
screen_info.h x86_64 EFI boot support: EFI frame buffer driver 2007-11-29 09:24:54 -08:00
sctp.h [SCTP]: protocol definitions for SCTP-AUTH implementation 2007-10-10 16:51:28 -07:00
scx200.h
scx200_gpio.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
sdla.h
seccomp.h
securebits.h
security.h fix up security_socket_getpeersec_* documentation 2007-10-20 00:53:30 +02:00
selection.h vt: Fix warnings in selection.h 2007-10-16 09:43:17 -07:00
selinux.h SELinux: return EOPNOTSUPP not ENOTSUPP 2007-11-17 10:38:16 +11:00
selinux_netlink.h
sem.h ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
seq_file.h Fix f_version type: should be u64 instead of unsigned long 2007-10-17 08:42:53 -07:00
seqlock.h
serial.h
serial167.h
serial_8250.h Use resource_size_t for serial port IO addresses 2007-07-24 12:24:58 -07:00
serial_core.h IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
serial_pnx8xxx.h
serial_reg.h Serial 8250: handle saving the clear-on-read bits from the LSR and MSR 2007-08-22 19:52:44 -07:00
serialP.h
serio.h
shm.h ipc: store ipcs into IDRs 2007-10-19 11:53:44 -07:00
shmem_fs.h
signal.h
signalfd.h rename signalfd_siginfo fields 2007-10-17 08:43:01 -07:00
skbuff.h [SKBUFF]: Free old skb properly in skb_morph 2007-11-26 23:11:19 +08:00
slab.h Unify /proc/slabinfo configuration 2008-01-02 13:04:48 -08:00
slab_def.h Unify /proc/slabinfo configuration 2008-01-02 13:04:48 -08:00
slob_def.h
slub_def.h Unify /proc/slabinfo configuration 2008-01-02 13:04:48 -08:00
sm501-regs.h sm501fb: Ensure panel interface is not tristated when setup 2007-10-16 09:43:14 -07:00
sm501.h
smb.h
smb_fs.h
smb_fs_i.h
smb_fs_sb.h
smb_mount.h
smbno.h
smp.h KVM: fix !SMP build error 2007-11-09 22:39:38 +01:00
smp_lock.h
snmp.h [TCP] MIB: Count FRTO's successfully detected spurious RTOs 2007-10-10 16:52:39 -07:00
socket.h [Bluetooth] Add constant for Bluetooth socket options level 2007-10-22 02:59:48 -07:00
sockios.h
som.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
splice.h
srcu.h
stacktrace.h
stallion.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
start_kernel.h
stat.h
statfs.h
stddef.h
stop_machine.h
string.h [TIPC]: Fix headercheck wrt. tipc_config.h 2007-10-30 21:44:00 -07:00
stringify.h
superhyway.h
suspend.h Hibernation: Check if ACPI is enabled during restore in the right place 2007-10-18 14:37:20 -07:00
svga.h
swap.h oom: move prototypes to appropriate header file 2007-10-17 08:42:45 -07:00
swapops.h
synclink.h
sys.h
syscalls.h
sysctl.h [S390] appldata: remove unused binary sysctls. 2007-11-20 11:13:45 +01:00
sysdev.h
sysfs.h sysfs: add copyrights 2007-10-12 14:51:12 -07:00
sysrq.h
sysv_fs.h
task_io_accounting.h
task_io_accounting_ops.h
taskstats.h add-scaled-time-to-taskstats-based-process-accounting fix 2007-10-18 14:37:28 -07:00
taskstats_kern.h
tc.h
tcp.h [TCP]: Make snd_cwnd_cnt 32-bit 2007-10-15 12:59:43 -07:00
telephony.h
termios.h
textsearch.h
textsearch_fsm.h
tfrc.h
thread_info.h futex: fix for futex_wait signal stack corruption 2007-12-05 15:46:09 +01:00
threads.h
tick.h cpuidle: consolidate 2.6.22 cpuidle branch into one patch 2007-10-10 00:12:41 -04:00
tifm.h
time.h kernel/time/timekeeping.c: cleanups 2007-10-17 08:42:53 -07:00
timer.h
timerfd.h
times.h
timex.h time: add ADJ_OFFSET_SS_READ 2007-11-26 20:42:19 +01:00
tiocl.h
tipc.h
tipc_config.h
topology.h sched: enable wake-idle on CONFIG_SCHED_MC=y 2007-10-15 17:00:19 +02:00
toshiba.h
transport_class.h
trdevice.h
tsacct_kern.h
tty.h [TTY]: Fix network driver interactions with TCGET/SET calls. 2007-11-07 04:14:19 -08:00
tty_driver.h
tty_flip.h
tty_ldisc.h
types.h fix abuses of ptrdiff_t 2007-10-29 07:41:33 -07:00
uaccess.h
udf_fs.h
udf_fs_i.h
udf_fs_sb.h
udp.h
ufs_fs.h ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
uinput.h get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
uio.h
uio_driver.h
ultrasound.h
un.h
unistd.h
unwind.h
usb.h usb.h: fix kernel-doc warning 2007-12-17 10:47:15 -08:00
usb_usual.h usb-storage: Fix devices that cannot handle 32k transfers 2007-12-17 10:47:14 -08:00
usbdevice_fs.h USB: Fix signr comment in usbdevice_fs.h 2007-11-28 13:58:34 -08:00
user.h
user_namespace.h Convert uid hash to hlist 2007-09-19 11:24:18 -07:00
utime.h
uts.h
utsname.h
vermagic.h
veth.h [VETH]: move veth.h to include/linux 2007-12-26 19:36:35 -08:00
vfs.h
via.h
video_decoder.h
video_encoder.h
video_output.h Convert from class_device to device for drivers/video 2007-10-12 14:51:04 -07:00
videodev.h V4L/DVB (6320): v4l core: remove the unused .hardware V4L1 field 2007-10-22 12:01:24 -02:00
videodev2.h V4L/DVB (6321): Remove obsolete VIDIOC_S/G_MPEGCOMP ioctls 2007-10-22 12:01:30 -02:00
videotext.h
virtio.h Virtio interface 2007-10-23 15:49:54 +10:00
virtio_9p.h 9p: add virtio transport 2007-10-23 13:47:31 -05:00
virtio_blk.h Block driver using virtio. 2007-10-23 15:49:54 +10:00
virtio_config.h Virtio interface 2007-10-23 15:49:54 +10:00
virtio_console.h Virtio console driver 2007-10-23 15:49:55 +10:00
virtio_net.h Net driver using virtio 2007-10-23 15:49:54 +10:00
virtio_ring.h virtio: Force use of power-of-two for descriptor ring sizes 2007-11-12 13:59:40 +11:00
vmalloc.h
vmstat.h
vt.h Console events and accessibility 2007-10-19 11:53:34 -07:00
vt_buffer.h
vt_kern.h add CONFIG_VT_UNICODE 2007-10-17 08:42:56 -07:00
wait.h
wanrouter.h
watchdog.h
wireless.h
workqueue.h workqueue: debug flushing deadlocks with lockdep 2007-10-19 11:53:38 -07:00
writeback.h introduce I_SYNC 2007-10-17 08:43:02 -07:00
x25.h
xattr.h
xfrm.h
xilinxfb.h [POWERPC] XilinxFB: Allow fixed framebuffer base address 2007-10-12 14:05:17 +10:00
yam.h
zconf.h
zlib.h [ZLIB]: Move bnx2 driver gzip unpacker into zlib. 2007-10-10 16:53:57 -07:00
zorro.h
zorro_ids.h
zutil.h