Merge branch 'master' into for-next
authorJiri Kosina <jkosina@suse.cz>
Tue, 15 Feb 2011 09:24:31 +0000 (10:24 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 15 Feb 2011 09:24:31 +0000 (10:24 +0100)
37 files changed:
Documentation/device-mapper/dm-crypt.txt
Documentation/sysctl/kernel.txt
MAINTAINERS
arch/ia64/include/asm/perfmon.h
arch/x86/kernel/apic/io_apic.c
arch/x86/oprofile/op_model_p4.c
arch/xtensa/configs/s6105_defconfig
drivers/atm/firestream.c
drivers/block/smart1,2.h
drivers/bluetooth/btusb.c
drivers/cpuidle/sysfs.c
drivers/dma/shdma.c
drivers/edac/i7300_edac.c
drivers/edac/i82975x_edac.c
drivers/gpu/drm/drm_sman.c
drivers/message/i2o/i2o_config.c
drivers/net/atl1c/atl1c.h
drivers/net/sungem.h
drivers/net/wireless/ipw2x00/ipw2100.c
drivers/platform/x86/acer-wmi.c
drivers/scsi/aic7xxx/aic79xx.h
drivers/scsi/aic7xxx/aic7xxx.h
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/megaraid.c
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/osst.c
drivers/usb/wusbcore/rh.c
fs/direct-io.c
fs/ext4/extents.c
fs/ocfs2/dir.c
include/linux/mmzone.h
init/Kconfig
kernel/trace/ring_buffer.c
net/ipv6/inet6_hashtables.c
net/mac80211/tx.c
sound/pci/au88x0/au88x0.h
sound/pci/au88x0/au88x0_core.c

index 59293ac4a5d0382abf0cd9c3afb0fef718cccf73..6b5c42dbbe841c8ec6ed1b608ac3bd77ffe60fa1 100644 (file)
@@ -41,7 +41,7 @@ Example scripts
 ===============
 LUKS (Linux Unified Key Setup) is now the preferred way to set up disk
 encryption with dm-crypt using the 'cryptsetup' utility, see
-http://clemens.endorphin.org/cryptography
+http://code.google.com/p/cryptsetup/
 
 [[
 #!/bin/sh
index 11d5ceda5bb063be1faa54e351c60241ff5959f2..36f007514db35f76cfb34a97c216c7a36a7dc8ff 100644 (file)
@@ -367,7 +367,7 @@ the different loglevels.
 
 - console_loglevel: messages with a higher priority than
   this will be printed to the console
-- default_message_level: messages without an explicit priority
+- default_message_loglevel: messages without an explicit priority
   will be printed with this priority
 - minimum_console_loglevel: minimum (highest) value to which
   console_loglevel can be set
index 4837907a4eda2dd20c2e3eacba068e0b08ba7d17..b6d6d5119d6e02014075f6f8d02b8d5c989db2b5 100644 (file)
@@ -2340,7 +2340,7 @@ F:        include/linux/edac_mce.h
 
 EDAC-I82975X
 M:     Ranganathan Desikan <ravi@jetztechnologies.com>
-M:     "Arvind R." <arvind@jetztechnologies.com>
+M:     "Arvind R." <arvino55@gmail.com>
 L:     bluesmoke-devel@lists.sourceforge.net (moderated for non-subscribers)
 W:     bluesmoke.sourceforge.net
 S:     Maintained
@@ -3437,6 +3437,7 @@ F:        net/ipx/
 IRDA SUBSYSTEM
 M:     Samuel Ortiz <samuel@sortiz.org>
 L:     irda-users@lists.sourceforge.net (subscribers-only)
+L:     netdev@vger.kernel.org
 W:     http://irda.sourceforge.net/
 S:     Maintained
 T:     git git://git.kernel.org/pub/scm/linux/kernel/git/sameo/irda-2.6.git
@@ -3880,6 +3881,12 @@ L:       linux-security-module@vger.kernel.org
 T:     git git://git.kernel.org/pub/scm/linux/kernel/git/chrisw/lsm-2.6.git
 S:     Supported
 
+LIS3LV02D ACCELEROMETER DRIVER
+M:     Eric Piel <eric.piel@tremplin-utc.net>
+S:     Maintained
+F:     Documentation/hwmon/lis3lv02d
+F:     drivers/hwmon/lis3lv02d.*
+
 LLC (802.2)
 M:     Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
 S:     Maintained
@@ -3887,12 +3894,6 @@ F:       include/linux/llc.h
 F:     include/net/llc*
 F:     net/llc/
 
-LIS3LV02D ACCELEROMETER DRIVER
-M:     Eric Piel <eric.piel@tremplin-utc.net>
-S:     Maintained
-F:     Documentation/hwmon/lis3lv02d
-F:     drivers/hwmon/lis3lv02d.*
-
 LM73 HARDWARE MONITOR DRIVER
 M:     Guillaume Ligneul <guillaume.ligneul@gmail.com>
 L:     lm-sensors@lm-sensors.org
index 7f3333dd00e44b3ed4e8296728c509e23f4a3922..d551183fee90dde6f1a8bfa91c5ec3b9abf71653 100644 (file)
@@ -7,7 +7,7 @@
 #define _ASM_IA64_PERFMON_H
 
 /*
- * perfmon comamnds supported on all CPU models
+ * perfmon commands supported on all CPU models
  */
 #define PFM_WRITE_PMCS         0x01
 #define PFM_WRITE_PMDS         0x02
index 697dc34b7b87611443ccdd06d39c8188f77ca94d..303be814ddd1513a16769b3336a88a80b56ffe89 100644 (file)
@@ -4026,7 +4026,7 @@ int mp_find_ioapic_pin(int ioapic, u32 gsi)
 static int bad_ioapic(unsigned long address)
 {
        if (nr_ioapics >= MAX_IO_APICS) {
-               printk(KERN_WARNING "WARING: Max # of I/O APICs (%d) exceeded "
+               printk(KERN_WARNING "WARNING: Max # of I/O APICs (%d) exceeded "
                       "(found %d), skipping\n", MAX_IO_APICS, nr_ioapics);
                return 1;
        }
index 9fadec074142b11afcb39e73627dc4c4fd8e14dd..98ab13058f892ee13048ac8962b13330f17e4d16 100644 (file)
@@ -50,7 +50,7 @@ static inline void setup_num_counters(void)
 #endif
 }
 
-static int inline addr_increment(void)
+static inline int addr_increment(void)
 {
 #ifdef CONFIG_SMP
        return smp_num_siblings == 2 ? 2 : 1;
index 095cd8084164506314f50d7b54dfdd54e33c9f34..42b7feba71b7e8056d3a6e234de927d8978e9a6c 100644 (file)
@@ -598,7 +598,7 @@ CONFIG_DEBUG_NOMMU_REGIONS=y
 # CONFIG_CONTEXT_SWITCH_TRACER is not set
 # CONFIG_BOOT_TRACER is not set
 # CONFIG_TRACE_BRANCH_PROFILING is not set
-# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_DYNAMIC_DEBUG is not set
 # CONFIG_SAMPLES is not set
 
 #
index 7d912baf01d444c6adaaa943f87e107ead7441b6..049650d42c882139ca5a6c05b4381ce7f9a4d936 100644 (file)
@@ -1031,7 +1031,7 @@ static int fs_open(struct atm_vcc *atm_vcc)
                /* We now use the "submit_command" function to submit commands to
                   the firestream. There is a define up near the definition of
                   that routine that switches this routine between immediate write
-                  to the immediate comamnd registers and queuing the commands in
+                  to the immediate command registers and queuing the commands in
                   the HPTXQ for execution. This last technique might be more
                   efficient if we know we're going to submit a whole lot of
                   commands in one go, but this driver is not setup to be able to
index a0b403a6b4ed81cec6eefa343f03e275b0202f0b..e5565fbaeb30a7115190989e094f9e7f578ecf8d 100644 (file)
@@ -95,7 +95,7 @@ static unsigned long smart4_completed(ctlr_info_t *h)
  /*
  *  This hardware returns interrupt pending at a different place and 
  *  it does not tell us if the fifo is empty, we will have check  
- *  that by getting a 0 back from the comamnd_completed call. 
+ *  that by getting a 0 back from the command_completed call. 
  */
 static unsigned long smart4_intr_pending(ctlr_info_t *h)
 {
index 1da773f899a2708f1c151b892098ed3ddbaf79cf..92d29bfa2f48ce3ed7f2299d70dd087fe8cdacde 100644 (file)
@@ -424,7 +424,7 @@ static void btusb_isoc_complete(struct urb *urb)
        }
 }
 
-static void inline __fill_isoc_descriptor(struct urb *urb, int len, int mtu)
+static inline void __fill_isoc_descriptor(struct urb *urb, int len, int mtu)
 {
        int i, offset = 0;
 
@@ -775,7 +775,7 @@ static void btusb_notify(struct hci_dev *hdev, unsigned int evt)
        }
 }
 
-static int inline __set_isoc_interface(struct hci_dev *hdev, int altsetting)
+static inline int __set_isoc_interface(struct hci_dev *hdev, int altsetting)
 {
        struct btusb_data *data = hdev->driver_data;
        struct usb_interface *intf = data->isoc;
index 0310ffaec9df0536143b509847047d7ab01eba27..be7917ec40c9f111270ca889ebdba3a25c61fb38 100644 (file)
@@ -300,7 +300,7 @@ static struct kobj_type ktype_state_cpuidle = {
        .release = cpuidle_state_sysfs_release,
 };
 
-static void inline cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
+static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
 {
        kobject_put(&device->kobjs[i]->kobj);
        wait_for_completion(&device->kobjs[i]->kobj_unregister);
index 28720d3103c40aad29e2bb1bf9a90b57101d2e03..6451b581a70b86e489eba697da2d956a4f4c67a7 100644 (file)
@@ -750,7 +750,7 @@ static void sh_chan_xfer_ld_queue(struct sh_dmae_chan *sh_chan)
                return;
        }
 
-       /* Find the first not transferred desciptor */
+       /* Find the first not transferred descriptor */
        list_for_each_entry(desc, &sh_chan->ld_queue, node)
                if (desc->mark == DESC_SUBMITTED) {
                        dev_dbg(sh_chan->dev, "Queue #%d to %d: %u@%x -> %x\n",
index 05523b504271f09e08fd8a4c63441aaa5094748b..76d1f576cdc8752c93a268e6e4afd86470a8a4ec 100644 (file)
@@ -162,7 +162,7 @@ static struct edac_pci_ctl_info *i7300_pci;
 #define AMBPRESENT_0   0x64
 #define AMBPRESENT_1   0x66
 
-const static u16 mtr_regs[MAX_SLOTS] = {
+static const u16 mtr_regs[MAX_SLOTS] = {
        0x80, 0x84, 0x88, 0x8c,
        0x82, 0x86, 0x8a, 0x8e
 };
index 3218819b7286008c908f53869506a73063fa9a57..5e3acb4eecc92273fe7d63ade9f130eb0a334563 100644 (file)
@@ -664,7 +664,7 @@ module_init(i82975x_init);
 module_exit(i82975x_exit);
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Arvind R. <arvind@acarlab.com>");
+MODULE_AUTHOR("Arvind R. <arvino55@gmail.com>");
 MODULE_DESCRIPTION("MC support for Intel 82975 memory hub controllers");
 
 module_param(edac_op_state, int, 0444);
index 463aed9403db34c76ff4fd4e6e40970b6eef4e46..34664587a74e08becbd86d223c6a3e2273b6a468 100644 (file)
@@ -59,9 +59,7 @@ drm_sman_init(struct drm_sman * sman, unsigned int num_managers,
 {
        int ret = 0;
 
-       sman->mm = (struct drm_sman_mm *) kcalloc(num_managers,
-                                                 sizeof(*sman->mm),
-                                                 GFP_KERNEL);
+       sman->mm = kcalloc(num_managers, sizeof(*sman->mm), GFP_KERNEL);
        if (!sman->mm) {
                ret = -ENOMEM;
                goto out;
index 7d3cc575c36167a436b43052b11942b3e0f80ac7..098de2b35784a44cc4d5b9baeb08898a6a5ed805 100644 (file)
@@ -1044,8 +1044,7 @@ static long i2o_cfg_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
 
 static int cfg_open(struct inode *inode, struct file *file)
 {
-       struct i2o_cfg_info *tmp =
-           (struct i2o_cfg_info *)kmalloc(sizeof(struct i2o_cfg_info),
+       struct i2o_cfg_info *tmp = kmalloc(sizeof(struct i2o_cfg_info),
                                           GFP_KERNEL);
        unsigned long flags;
 
index 9ab58097fa2e794fe46b8e1547d7bd762153a8f7..7cb375e0e29cd5e3219a86106f2288201cf20635 100644 (file)
@@ -265,7 +265,7 @@ struct atl1c_recv_ret_status {
        __le32  word3;
 };
 
-/* RFD desciptor */
+/* RFD descriptor */
 struct atl1c_rx_free_desc {
        __le64  buffer_addr;
 };
@@ -531,7 +531,7 @@ struct atl1c_rfd_ring {
        struct atl1c_buffer *buffer_info;
 };
 
-/* receive return desciptor (rrd) ring */
+/* receive return descriptor (rrd) ring */
 struct atl1c_rrd_ring {
        void *desc;             /* descriptor ring virtual address */
        dma_addr_t dma;         /* descriptor ring physical address */
index 19905460def692c23fd9928d991c2b70728cc282..bfb6683a14431f96610ece04fc340f5b04ab8ce9 100644 (file)
@@ -843,7 +843,7 @@ struct gem_txd {
 
 /* GEM requires that RX descriptors are provided four at a time,
  * aligned.  Also, the RX ring may not wrap around.  This means that
- * there will be at least 4 unused desciptor entries in the middle
+ * there will be at least 4 unused descriptor entries in the middle
  * of the RX ring at all times.
  *
  * Similar to HME, GEM assumes that it can write garbage bytes before
index 61915f371416e490cbf73d89d65595aadc1e6a98..da60faee74fc18e8e0f93a3b20942bf1bd09a875 100644 (file)
@@ -1397,7 +1397,7 @@ static int ipw2100_power_cycle_adapter(struct ipw2100_priv *priv)
 }
 
 /*
- * Send the CARD_DISABLE_PHY_OFF comamnd to the card to disable it
+ * Send the CARD_DISABLE_PHY_OFF command to the card to disable it
  *
  * After disabling, if the card was associated, a STATUS_ASSN_LOST will be sent.
  *
index c5c4b8c32eb89a40291295ed79562318cd110cdd..f21eb5326607948c397f0fcb6c0261f34d00be46 100644 (file)
@@ -39,7 +39,6 @@
 #include <linux/slab.h>
 #include <linux/input.h>
 #include <linux/input/sparse-keymap.h>
-#include <linux/dmi.h>
 
 #include <acpi/acpi_drivers.h>
 
index be5558ab84ea06622e51f3a7f176d3efcba2e3f6..95ee50385188cfd7d1270ae63d0ed31ae4a77f32 100644 (file)
@@ -672,7 +672,7 @@ struct scb_data {
 /************************ Target Mode Definitions *****************************/
 
 /*
- * Connection desciptor for select-in requests in target mode.
+ * Connection descriptor for select-in requests in target mode.
  */
 struct target_cmd {
        uint8_t scsiid;         /* Our ID and the initiator's ID */
index e4e651cca3e448185cefb4a9474f9cf7baad12f0..17444bc18bca01e642d0f88596950fcb2f6624f0 100644 (file)
@@ -618,7 +618,7 @@ struct scb_data {
 /************************ Target Mode Definitions *****************************/
 
 /*
- * Connection desciptor for select-in requests in target mode.
+ * Connection descriptor for select-in requests in target mode.
  */
 struct target_cmd {
        uint8_t scsiid;         /* Our ID and the initiator's ID */
index 3f5a542a77938e15b34aa64ae45d379af70a6048..e021b4812d585a377d446bd677c5cb8a40db2ff2 100644 (file)
@@ -4780,7 +4780,7 @@ ahc_init_scbdata(struct ahc_softc *ahc)
        SLIST_INIT(&scb_data->sg_maps);
 
        /* Allocate SCB resources */
-       scb_data->scbarray = (struct scb *)kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC);
+       scb_data->scbarray = kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC);
        if (scb_data->scbarray == NULL)
                return (ENOMEM);
        memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC);
index 9aa048525eb2544b8159a9495f1a604695a79d26..c212694a97145ef626e5a9095d081784eba461e3 100644 (file)
@@ -1412,7 +1412,7 @@ megaraid_isr_memmapped(int irq, void *devp)
  * @nstatus - number of completed commands
  * @status - status of the last command completed
  *
- * Complete the comamnds and call the scsi mid-layer callback hooks.
+ * Complete the commands and call the scsi mid-layer callback hooks.
  */
 static void
 mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status)
@@ -4296,7 +4296,7 @@ mega_support_cluster(adapter_t *adapter)
  * @adapter - pointer to our soft state
  * @dma_handle - DMA address of the buffer
  *
- * Issue internal comamnds while interrupts are available.
+ * Issue internal commands while interrupts are available.
  * We only issue direct mailbox commands from within the driver. ioctl()
  * interface using these routines can issue passthru commands.
  */
index 5d6d07bd1cd0565f0c89b004e494d1d15c06a8a7..a18ba43af73ed8b1ccfbc51667c41fa332dccc0e 100644 (file)
@@ -877,7 +877,7 @@ megasas_issue_blocked_cmd(struct megasas_instance *instance,
  * @instance:                          Adapter soft state
  * @cmd_to_abort:                      Previously issued cmd to be aborted
  *
- * MFI firmware can abort previously issued AEN comamnd (automatic event
+ * MFI firmware can abort previously issued AEN command (automatic event
  * notification). The megasas_issue_blocked_abort_cmd() issues such abort
  * cmd and waits for return status.
  * Max wait time is MEGASAS_INTERNAL_CMD_WAIT_TIME secs
index 54de1d1af1a7377d9b0fba6e20753f0fd6854908..521e2182d45bf44394f6a419bfbcabe57430bb19 100644 (file)
@@ -1484,7 +1484,7 @@ static int osst_read_back_buffer_and_rewrite(struct osst_tape * STp, struct osst
        int                     dbg              = debugging;
 #endif
 
-       if ((buffer = (unsigned char *)vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL)
+       if ((buffer = vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL)
                return (-EIO);
 
        printk(KERN_INFO "%s:I: Reading back %d frames from drive buffer%s\n",
@@ -2296,7 +2296,7 @@ static int osst_write_header(struct osst_tape * STp, struct osst_request ** aSRp
        if (STp->raw) return 0;
 
        if (STp->header_cache == NULL) {
-               if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) {
+               if ((STp->header_cache = vmalloc(sizeof(os_header_t))) == NULL) {
                        printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name);
                        return (-ENOMEM);
                }
@@ -2484,7 +2484,7 @@ static int __osst_analyze_headers(struct osst_tape * STp, struct osst_request **
                                   name, ppos, update_frame_cntr);
 #endif
                if (STp->header_cache == NULL) {
-                       if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) {
+                       if ((STp->header_cache = vmalloc(sizeof(os_header_t))) == NULL) {
                                printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name);
                                return 0;
                        }
@@ -5851,9 +5851,7 @@ static int osst_probe(struct device *dev)
        /* if this is the first attach, build the infrastructure */
        write_lock(&os_scsi_tapes_lock);
        if (os_scsi_tapes == NULL) {
-               os_scsi_tapes =
-                       (struct osst_tape **)kmalloc(osst_max_dev * sizeof(struct osst_tape *),
-                                  GFP_ATOMIC);
+               os_scsi_tapes = kmalloc(osst_max_dev * sizeof(struct osst_tape *), GFP_ATOMIC);
                if (os_scsi_tapes == NULL) {
                        write_unlock(&os_scsi_tapes_lock);
                        printk(KERN_ERR "osst :E: Unable to allocate array for OnStream SCSI tapes.\n");
index a68ad7aa0b592948e0c5168435b609d174231ea1..785772e66ed0f034d2ed57ea7f145174f19b9fe3 100644 (file)
@@ -156,7 +156,7 @@ int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf)
 EXPORT_SYMBOL_GPL(wusbhc_rh_status_data);
 
 /*
- * Return the hub's desciptor
+ * Return the hub's descriptor
  *
  * NOTE: almost cut and paste from ehci-hub.c
  *
index b044705eedd4f0836cbcbe5d0f92bf6fb6e39cf7..dcb5577cde1de8ebdf57106a91248c17db81b823 100644 (file)
@@ -645,11 +645,11 @@ static int dio_send_cur_page(struct dio *dio)
                /*
                 * See whether this new request is contiguous with the old.
                 *
-                * Btrfs cannot handl having logically non-contiguous requests
-                * submitted.  For exmple if you have
+                * Btrfs cannot handle having logically non-contiguous requests
+                * submitted.  For example if you have
                 *
                 * Logical:  [0-4095][HOLE][8192-12287]
-                * Phyiscal: [0-4095]      [4096-8181]
+                * Physical: [0-4095]      [4096-8191]
                 *
                 * We cannot submit those pages together as one BIO.  So if our
                 * current logical offset in the file does not equal what would
index ccce8a7e94edc9ca2d23b76e94bd45339869970d..686240e89df18233f11db06e0cec8d1c1cbf44f7 100644 (file)
@@ -131,7 +131,7 @@ static ext4_fsblk_t ext4_ext_find_goal(struct inode *inode,
                 * fragmenting the file system's free space.  Maybe we
                 * should have some hueristics or some way to allow
                 * userspace to pass a hint to file system,
-                * especiially if the latter case turns out to be
+                * especially if the latter case turns out to be
                 * common.
                 */
                ex = path[depth].p_ext;
index d417b3f9b0c730e5cbb8d475358e6d8891fdc05c..f97b6f1c61dd47392d0052acb64d218b1d9cdd76 100644 (file)
@@ -354,7 +354,7 @@ static inline int ocfs2_match(int len,
 /*
  * Returns 0 if not found, -1 on failure, and 1 on success
  */
-static int inline ocfs2_search_dirblock(struct buffer_head *bh,
+static inline int ocfs2_search_dirblock(struct buffer_head *bh,
                                        struct inode *dir,
                                        const char *name, int namelen,
                                        unsigned long offset,
index 02ecb0189b1d9d1fcf0fff2900178045b40cedff..e56f835274c9becd407fe28705fd81f09f5bbc3d 100644 (file)
@@ -472,7 +472,7 @@ static inline int zone_is_oom_locked(const struct zone *zone)
 #ifdef CONFIG_NUMA
 
 /*
- * The NUMA zonelists are doubled becausse we need zonelists that restrict the
+ * The NUMA zonelists are doubled because we need zonelists that restrict the
  * allocations to a single node for GFP_THISNODE.
  *
  * [0] : Zonelist with fallback
index be788c0957d4abac813eef18abe7822177542969..3da09dab537840429098c91434ac36b040f78244 100644 (file)
@@ -728,9 +728,9 @@ config BLK_CGROUP
 
        This option only enables generic Block IO controller infrastructure.
        One needs to also enable actual IO controlling logic/policy. For
-       enabling proportional weight division of disk bandwidth in CFQ seti
-       CONFIG_CFQ_GROUP_IOSCHED=y and for enabling throttling policy set
-       CONFIG_BLK_THROTTLE=y.
+       enabling proportional weight division of disk bandwidth in CFQ, set
+       CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
+       CONFIG_BLK_DEV_THROTTLING=y.
 
        See Documentation/cgroups/blkio-controller.txt for more information.
 
index bd1c35a4fbccf31c0531f0667545011f704c561f..6ee56b4ad136391a5e55f2eb7c5e1fce2a1d514f 100644 (file)
@@ -669,7 +669,7 @@ static struct list_head *rb_list_head(struct list_head *list)
  * the reader page). But if the next page is a header page,
  * its flags will be non zero.
  */
-static int inline
+static inline int
 rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer,
                struct buffer_page *page, struct list_head *list)
 {
index 633a6c266136ec0a34602fb64bc5b9f68d8658a5..b53197233709c71af7630581ee6dab590e15f5a3 100644 (file)
@@ -124,7 +124,7 @@ out:
 }
 EXPORT_SYMBOL(__inet6_lookup_established);
 
-static int inline compute_score(struct sock *sk, struct net *net,
+static inline int compute_score(struct sock *sk, struct net *net,
                                const unsigned short hnum,
                                const struct in6_addr *daddr,
                                const int dif)
index b0beaa58246bbfe9019ccde998b8ba2043e38ccd..306533ba0d3df2e5ae513e50f3a85f807168731f 100644 (file)
@@ -173,7 +173,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, int group_addr,
        return cpu_to_le16(dur);
 }
 
-static int inline is_ieee80211_device(struct ieee80211_local *local,
+static inline int is_ieee80211_device(struct ieee80211_local *local,
                                      struct net_device *dev)
 {
        return local == wdev_priv(dev->ieee80211_ptr);
index cf46bba563cf938ac19803315fd92a5ea51a5c0e..ecb8f4daf408f6e53bc6388e82e9802a4580df0a 100644 (file)
@@ -211,7 +211,7 @@ static void vortex_adbdma_startfifo(vortex_t * vortex, int adbdma);
 //static void vortex_adbdma_stopfifo(vortex_t *vortex, int adbdma);
 static void vortex_adbdma_pausefifo(vortex_t * vortex, int adbdma);
 static void vortex_adbdma_resumefifo(vortex_t * vortex, int adbdma);
-static int inline vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma);
+static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma);
 static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma);
 
 #ifndef CHIP_AU8810
@@ -219,7 +219,7 @@ static void vortex_wtdma_startfifo(vortex_t * vortex, int wtdma);
 static void vortex_wtdma_stopfifo(vortex_t * vortex, int wtdma);
 static void vortex_wtdma_pausefifo(vortex_t * vortex, int wtdma);
 static void vortex_wtdma_resumefifo(vortex_t * vortex, int wtdma);
-static int inline vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma);
+static inline int vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma);
 #endif
 
 /* global stuff. */
index 23f49f356e0f0375a784de99c05b832c2bc66ad4..d43252a08b5896e1aab686435f05ec98e2543d61 100644 (file)
@@ -1249,7 +1249,7 @@ static void vortex_adbdma_resetup(vortex_t *vortex, int adbdma) {
        }
 }
 
-static int inline vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma)
+static inline int vortex_adbdma_getlinearpos(vortex_t * vortex, int adbdma)
 {
        stream_t *dma = &vortex->dma_adb[adbdma];
        int temp;
@@ -1498,7 +1498,7 @@ static int vortex_wtdma_getcursubuffer(vortex_t * vortex, int wtdma)
                 POS_SHIFT) & POS_MASK);
 }
 #endif
-static int inline vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma)
+static inline int vortex_wtdma_getlinearpos(vortex_t * vortex, int wtdma)
 {
        stream_t *dma = &vortex->dma_wt[wtdma];
        int temp;