summaryrefslogtreecommitdiff
path: root/include/linux
AgeCommit message (Collapse)Author
2009-07-20Merge branch 'quilt/driver-core'Stephen Rothwell
Conflicts: init/main.c
2009-07-20Merge commit 'sfi/sfi-test'Stephen Rothwell
2009-07-20Merge commit 'percpu/for-next'Stephen Rothwell
Conflicts: arch/sh/kernel/vmlinux.lds.S arch/x86/kernel/cpu/perf_counter.c drivers/cpufreq/cpufreq_ondemand.c
2009-07-20Merge commit 'tip/auto-latest'Stephen Rothwell
Conflicts: drivers/oprofile/oprofile_stats.c include/linux/rcupdate.h
2009-07-20Merge commit 'fsnotify/for-next'Stephen Rothwell
2009-07-20Merge commit 'suspend/linux-next'Stephen Rothwell
2009-07-20Merge commit 'trivial/for-next'Stephen Rothwell
2009-07-20Merge commit 'dwmw2-iommu/master'Stephen Rothwell
2009-07-20Merge commit 'refs/next/20090713/ttydev'Stephen Rothwell
Conflicts: drivers/usb/serial/generic.c drivers/usb/serial/pl2303.c
2009-07-20Merge commit 'security-testing/next'Stephen Rothwell
2009-07-20Merge commit 'voltage/for-next'Stephen Rothwell
2009-07-20Merge commit 'mfd/for-next'Stephen Rothwell
2009-07-20Merge commit 'slab/for-next'Stephen Rothwell
2009-07-20Merge commit 'kgdb/kgdb-next'Stephen Rothwell
2009-07-20Merge commit 'battery/master'Stephen Rothwell
2009-07-20Merge commit 'block/for-next'Stephen Rothwell
2009-07-20Merge branch 'quilt/rr'Stephen Rothwell
2009-07-20Merge commit 'crypto/master'Stephen Rothwell
2009-07-20Merge commit 'net/master'Stephen Rothwell
2009-07-20Merge commit 'kvm/master'Stephen Rothwell
2009-07-20Merge commit 'v4l-dvb/master'Stephen Rothwell
2009-07-20Merge branch 'quilt/i2c'Stephen Rothwell
2009-07-20Merge commit 'hid/for-next'Stephen Rothwell
2009-07-20Merge commit 'reiserfs-bkl/reiserfs/kill-bkl-rc6'Stephen Rothwell
Conflicts: fs/reiserfs/journal.c fs/reiserfs/super.c
2009-07-20Merge commit 'nfsd/nfsd-next'Stephen Rothwell
2009-07-20Merge commit 'fuse/for-next'Stephen Rothwell
2009-07-20Driver Core: devtmpfs - kernel-maintained tmpfs-based /devKay Sievers
Devtmpfs lets the kernel create a tmpfs instance called devtmpfs very early at kernel initialization, before any driver-core device is registered. Every device with a major/minor will provide a device node in devtmpfs. Devtmpfs can be changed and altered by userspace at any time, and in any way needed - just like today's udev-mounted tmpfs. Unmodified udev versions will run just fine on top of it, and will recognize an already existing kernel-created device node and use it. The default node permissions are root:root 0600. Proper permissions and user/group ownership, meaningful symlinks, all other policy still needs to be applied by userspace. If a node is created by devtmps, devtmpfs will remove the device node when the device goes away. If the device node was created by userspace, or the devtmpfs created node was replaced by userspace, it will no longer be removed by devtmpfs. If it is requested to auto-mount it, it makes init=/bin/sh work without any further userspace support. /dev will be fully populated and dynamic, and always reflect the current device state of the kernel. With the commonly used dynamic device numbers, it solves the problem where static devices nodes may point to the wrong devices. It is intended to make the initial bootup logic simpler and more robust, by de-coupling the creation of the inital environment, to reliably run userspace processes, from a complex userspace bootstrap logic to provide a working /dev. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Jan Blunck <jblunck@suse.de> Tested-By: Harald Hoyer <harald@redhat.com> Tested-By: Scott James Remnant <scott@ubuntu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-20driver model: constify attribute groupsDavid Brownell
Let attribute group vectors be declared "const". We'd like to let most attribute metadata live in read-only sections... this is a start. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-20Driver core: Add accessor for device platform dataMark Brown
For consistency with driver data provide a dev_get_platdata() accessor for reading the platform data from a device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-20Driver core: move dev_get/set_drvdata to drivers/base/dd.cGreg Kroah-Hartman
No one should directly access the driver_data field, so remove the field and make it private. We dynamically create the private field now if it is needed, to handle drivers that call get/set before they are registered with the driver core. Also update the copyright notices on these files while we are there. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-20cpumask:move-obsolete-functions-to-end-of-headerRusty Russell
The new ones have pretty kerneldoc. Move the old ones to the end to avoid confusing people. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: benh@kernel.crashing.org
2009-07-20cpumask:remove-unused-deprecated-functionsRusty Russell
We're not forcing removal of the old cpu_ functions, but we might as well delete the now-unused ones. Especially CPUMASK_ALLOC and friends. I actually got a phone call (!) from a hacker who thought I had introduced them as the new cpumask API. He seemed bewildered that I had lost all taste. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: benh@kernel.crashing.org
2009-07-20cpumask:remove-topology_core_siblings-and-topology_thread_siblings-coreRusty Russell
There were replaced by topology_core_cpumask and topology_thread_cpumask. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-20cpumask:remove-smp_call_function_maskRusty Russell
Everyone is now using smp_call_function_many(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-20cpumask:remove-set_cpus_allowedRusty Russell
You're not supposed to pass cpumasks on the stack in that case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-20cpumask: Remove mask field from commentsNobuhiro Iwamatsu
By 7be23e278f, mask field was deleted by irqaction. However, it was not deleted from comment. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> CC: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-20cpumask:irqaction-remove-maskRusty Russell
Up until 1.1.83, the primitive human tribes used struct sigaction for interrupts. The sa_mask field was overloaded to hold a pointer to the name. When someone created the new "struct irqaction" they carried across the "mask" field as a kind of ancestor worship: the fact that it was unused makes clear its spiritual significance. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-20cpumask:remove-cpu_mask_allRusty Russell
It's only defined for NR_CPUS > BITS_PER_LONG; cpu_all_mask is always defined (and const). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-20cpumask:remove-CPU_MASK_ALL_PTRRusty Russell
(Thanks to Al Viro for reminding me of this, via Ingo) CPU_MASK_ALL is the (deprecated) "all bits set" cpumask, defined as so: #define CPU_MASK_ALL (cpumask_t) { { ... } } Taking the address of such a temporary is questionable at best, unfortunately 321a8e9d (cpumask: add CPU_MASK_ALL_PTR macro) added CPU_MASK_ALL_PTR: #define CPU_MASK_ALL_PTR (&CPU_MASK_ALL) Which formalizes this practice. One day gcc could bite us over this usage (though we seem to have gotten away with it so far). Now all callers are removed, we kill it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Ingo Molnar <mingo@elte.hu> Reported-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Mike Travis <travis@sgi.com>
2009-07-20usb: r8a66597-hcd platform data on_chip supportMagnus Damm
Convert the r8a66597-hcd driver to use the on_chip flag from platform data to enable on chip behaviour instead of relying on CONFIG_SUPERH_ON_CHIP_R8A66597 ugliness. This makes the code cleaner and also allows us to support both external and internal r8a66597 with the same kernel. It also makes the Kconfig part more future proof since we with this patch can add support for new processors with on-chip r8a66597 without modifying the Kconfig. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-07-17virtio_net: Sync header with qemuAlex Williamson
Qemu added support for a few extra RX modes that Linux doesn't currently make use of. Sync the headers to maintain consistency. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-17lguest: fix journeyMatias Zabaljauregui
fix: "make Guest" was complaining about duplicated G:032 Signed-off-by: Matias Zabaljauregui <zabaljauregui@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-07-16Merge branch 'master' of ↵David S. Miller
master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 Conflicts: drivers/net/wireless/orinoco/main.c
2009-07-16SFI: delete declaration for sfi_init_memory_map()Len Brown
...as it no longer exists Signed-off-by: Len Brown <len.brown@intel.com>
2009-07-16SFI, PCI: Introduce a x86_table_parser()Feng Tang
This new parser is used to parse the ACPI tables that are also used by SFI. It will first try the ACPI parsing method, then try SFI method if prvious one fails Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2009-07-16SFI: code cleanFeng Tang
* change some structure member name to Linux kernel convention * when MAX_IO_APICS exceed, print a warning msg instead of a panic * make comement lines start with capital character Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2009-07-16SFI: code clean for v2 seriesFeng Tang
* move global variable "gsi_base" out of a function * remove some pr_debug lines * remove the unneeded "flags" param for sfi_table_parse() and acpi_sfi_table_parse() * add helper functions for sfi/acpi table header pointer cast Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2009-07-16SFI: code clean according to Ingo's comments for v2Feng Tang
changes are: * rename uniq_ioapic_id() to unique_ioapic_id() * fix some comment format problem and typo * add __read_mostly for xsdt_va Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2009-07-16SFI: Enable SFI to parse ACPI tablesFeng Tang
Extend SFI to access standard ACPI tables. (eg. the PCI MCFG) using sfi_acpi_table_parse(). Note that this is _not_ a hybrid ACPI + SFI mode. The platform boots in either ACPI mode or SFI mode. SFI runs only with acpi_disabled=1, which can be set at build-time via CONFIG_ACPI=n, or at boot time by the failure to find ACPI platform support. So this extension simply allows SFI-platforms to re-use existing standard table formats that happen to be defined to live in ACPI envelopes. Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
2009-07-16SFI: create include/linux/sfi.hFeng Tang
include/linux/include/sfi.h defines everything that customers of SFI need to know in order to use the SFI suport in the kernel. The primary API is sfi_table_parse(), where a driver or another part of the kernel can supply a handler to parse the named table. sfi.h also includes the currently defined table signatures and table formats. Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>