]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Merge branch 'master' into devel
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 May 2010 22:08:54 +0000 (23:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 May 2010 22:08:54 +0000 (23:08 +0100)
18 files changed:
arch/arm/Kconfig
arch/arm/boot/bootp/bootp.lds
arch/arm/kernel/setup.c
arch/arm/kernel/unwind.c
arch/arm/mach-at91/board-sam9m10g45ek.c
arch/arm/mach-clps711x/Makefile.boot
arch/arm/mach-footbridge/ebsa285-pci.c
arch/arm/mach-h720x/common.h
arch/arm/mach-msm/board-msm7x27.c
arch/arm/mach-msm/board-msm7x30.c
arch/arm/mach-msm/board-qsd8x50.c
arch/arm/mach-mx2/devices.c
arch/arm/mach-sa1100/leds.c
arch/arm/mach-shark/pci.c
arch/arm/mach-spear6xx/spear6xx.c
arch/arm/mm/cache-v7.S
arch/arm/nwfpe/ChangeLog
arch/arm/nwfpe/fpsr.h

index 62065531b63994694b89ef881d95ad87cd57287d..1f254bd6c937ece2e6d6a6b1040d954cc923cd7a 100644 (file)
@@ -1421,6 +1421,17 @@ config CMDLINE
          time by entering them here. As a minimum, you should specify the
          memory size and the root device (e.g., mem=64M root=/dev/nfs).
 
+config CMDLINE_FORCE
+       bool "Always use the default kernel command string"
+       depends on CMDLINE != ""
+       help
+         Always use the default kernel command string, even if the boot
+         loader passes other arguments to the kernel.
+         This is useful if you cannot or don't want to change the
+         command-line options your boot loader passes to the kernel.
+
+         If unsure, say N.
+
 config XIP_KERNEL
        bool "Kernel Execute-In-Place from ROM"
        depends on !ZBOOT_ROM
index 8e3d81ce695eab3f760285bd6772a97d90ba8afa..fc54394f4340ad63fc0e295b0b212faac64177c3 100644 (file)
@@ -19,7 +19,7 @@ SECTIONS
    initrd_size = initrd_end - initrd_start;
    _etext = .;
   }
-  
+
   .stab 0 : { *(.stab) }
   .stabstr 0 : { *(.stabstr) }
   .stab.excl 0 : { *(.stab.excl) }
index c91c77b54dea151be9e04bee8355d0d78d3b1445..122d999bdc7ca0c8f690355a101f59f1ea8152f8 100644 (file)
@@ -593,6 +593,7 @@ static int __init parse_tag_revision(const struct tag *tag)
 
 __tagtable(ATAG_REVISION, parse_tag_revision);
 
+#ifndef CONFIG_CMDLINE_FORCE
 static int __init parse_tag_cmdline(const struct tag *tag)
 {
        strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
@@ -600,6 +601,7 @@ static int __init parse_tag_cmdline(const struct tag *tag)
 }
 
 __tagtable(ATAG_CMDLINE, parse_tag_cmdline);
+#endif /* CONFIG_CMDLINE_FORCE */
 
 /*
  * Scan the tag table for this tag, and call its parse function.
index 50292cd9c120aca1600c2bc2f8542697bc1bccca..dd81a918c106ea30029c0b8ce4eb60885f8a69a1 100644 (file)
@@ -26,6 +26,7 @@
  * http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html
  */
 
+#ifndef __CHECKER__
 #if !defined (__ARM_EABI__)
 #warning Your compiler does not have EABI support.
 #warning    ARM unwind is known to compile only with EABI compilers.
@@ -34,6 +35,7 @@
 #warning Your compiler is too buggy; it is known to not compile ARM unwind support.
 #warning    Change compiler or disable ARM_UNWIND option.
 #endif
+#endif /* __CHECKER__ */
 
 #include <linux/kernel.h>
 #include <linux/init.h>
index 98f9f4bc93962ea07afd5f1b7deae906768f6bfe..ee800595594d3fa790f6d4737f59d3c9c4b8c473 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/leds.h>
 #include <linux/clk.h>
 
-#include <mach/hardware.h>
 #include <video/atmel_lcdc.h>
 
 #include <asm/setup.h>
index d3d29339e149f3464afeb9cf14d5ac6902e32be3..a51fcef64fe0bb2324db6a1225c6d06dff9913d6 100644 (file)
@@ -1,7 +1,6 @@
 # The standard locations for stuff on CLPS711x type processors
-   zreladdr-y                          := 0xc0028000 
+   zreladdr-y                          := 0xc0028000
 params_phys-y                          := 0xc0000100
 # Should probably have some agreement on these...
 initrd_phys-$(CONFIG_ARCH_P720T)       := 0xc0400000
 initrd_phys-$(CONFIG_ARCH_CDB89712)    := 0x00700000
-
index 720c0bac1702e00e6f678946c4ecd7a0b6a50682..e5ab5bddbc8c87613ddc1e14e644b913b859d54f 100644 (file)
@@ -20,9 +20,9 @@ static int __init ebsa285_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
        if (dev->vendor == PCI_VENDOR_ID_CONTAQ &&
            dev->device == PCI_DEVICE_ID_CONTAQ_82C693)
                switch (PCI_FUNC(dev->devfn)) {
-                       case 1: return 14;
-                       case 2: return 15;
-                       case 3: return 12;
+               case 1: return 14;
+               case 2: return 15;
+               case 3: return 12;
                }
 
        return irqmap_ebsa285[(slot + pin) & 3];
index d8798dbc44f8ef34f469c99b88f69fb1eda42328..7dd5fa604efc503affc28c4e53de1763365b3b9a 100644 (file)
  */
 
 extern unsigned long h720x_gettimeoffset(void);
-extern void __init h720x_init_irq (void);
+extern void __init h720x_init_irq(void);
 extern void __init h720x_map_io(void);
 
 #ifdef CONFIG_ARCH_H7202
 extern struct sys_timer h7202_timer;
 extern void __init init_hw_h7202(void);
-extern void __init h7202_init_irq (void);
+extern void __init h7202_init_irq(void);
 extern void __init h7202_init_time(void);
 #endif
 
index cccb9f3c9d01c52018845cd6b06f14bd3437defd..db9381b85bf031542e1fca1837d15b68242aa201 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/input.h>
 #include <linux/io.h>
 #include <linux/delay.h>
-#include <linux/bootmem.h>
 #include <linux/power_supply.h>
 
 #include <mach/hardware.h>
index bac1f3c38a3b897c8be6ad33b72dc39ee94be7f3..e32981928c7701e2032414d69ef099fd6a1bd9db 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/gpio.h>
 #include <linux/platform_device.h>
 #include <linux/delay.h>
-#include <linux/bootmem.h>
 #include <linux/io.h>
 #include <linux/smsc911x.h>
 
index ec4606643d2c86e75f521c26fbf56855dac5b728..e3cc80792d6c2bafbcb9bb68ce9505434d71c176 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/irq.h>
 #include <linux/gpio.h>
 #include <linux/platform_device.h>
-#include <linux/bootmem.h>
 #include <linux/delay.h>
 
 #include <asm/mach-types.h>
index a9377cec662a2bbfc533fc5b39230a4c03af320f..a0aeb8a4adc19ef419a0a045ad3b882131597106 100644 (file)
@@ -478,8 +478,8 @@ int __init mxc_register_gpios(void)
 #ifdef CONFIG_MACH_MX21
 static struct resource mx21_usbhc_resources[] = {
        {
-               .start  = MX21_BASE_ADDR,
-               .end    = MX21_BASE_ADDR + 0x1FFF,
+               .start  = MX21_USBOTG_BASE_ADDR,
+               .end    = MX21_USBOTG_BASE_ADDR + SZ_8K - 1,
                .flags  = IORESOURCE_MEM,
        },
        {
index 4cf7c565aaedf80cd93d508c7bcf4926d152e052..bbfe197fb4d6274c19734a94ba2d9e7b8ddd0978 100644 (file)
@@ -2,7 +2,7 @@
  * linux/arch/arm/mach-sa1100/leds.c
  *
  * SA1100 LEDs dispatcher
- * 
+ *
  * Copyright (C) 2001 Nicolas Pitre
  */
 #include <linux/compiler.h>
@@ -18,10 +18,10 @@ sa1100_leds_init(void)
 {
        if (machine_is_assabet())
                leds_event = assabet_leds_event;
-       if (machine_is_consus())
-               leds_event = consus_leds_event;
+       if (machine_is_consus())
+               leds_event = consus_leds_event;
        if (machine_is_badge4())
-               leds_event = badge4_leds_event;
+               leds_event = badge4_leds_event;
        if (machine_is_brutus())
                leds_event = brutus_leds_event;
        if (machine_is_cerf())
index 37a7112d4117ee1e0e75b9ae6e58ea72d82c8baf..89d175ce74d2c3626b838770d250c802f937d4b5 100644 (file)
 static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 {
        if (dev->bus->number == 0)
-               if (dev->devfn == 0) return 255;
-               else return 11;
-       else return 255;
+               if (dev->devfn == 0)
+                       return 255;
+               else
+                       return 11;
+       else
+               return 255;
 }
 
 extern void __init via82c505_preinit(void);
 
 static struct hw_pci shark_pci __initdata = {
        .setup          = via82c505_setup,
-       .swizzle        = pci_std_swizzle,
+       .swizzle        = pci_std_swizzle,
        .map_irq        = shark_map_irq,
        .nr_controllers = 1,
        .scan           = via82c505_scan_bus,
index b67e571d4bf7956813bef9bef7f1d9adb30f29da..baf6bcc3169c6f0f9ff817ca374e0dcd05eee0b9 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <linux/types.h>
 #include <linux/amba/pl061.h>
-#include <linux/types.h>
 #include <linux/ptrace.h>
 #include <linux/io.h>
 #include <asm/hardware/vic.h>
index 06a90dcfc60a6f0cc0b88d5a02bfefdbfeb8610a..37c8157e116e8aa54dc8cdf4ffddf1e4f8bda0f3 100644 (file)
@@ -91,7 +91,11 @@ ENTRY(v7_flush_kern_cache_all)
  THUMB(        stmfd   sp!, {r4-r7, r9-r11, lr}        )
        bl      v7_flush_dcache_all
        mov     r0, #0
+#ifdef CONFIG_SMP
+       mcr     p15, 0, r0, c7, c1, 0           @ invalidate I-cache inner shareable
+#else
        mcr     p15, 0, r0, c7, c5, 0           @ I+BTB cache invalidate
+#endif
  ARM(  ldmfd   sp!, {r4-r5, r7, r9-r11, lr}    )
  THUMB(        ldmfd   sp!, {r4-r7, r9-r11, lr}        )
        mov     pc, lr
index eeb5a7c5ff0974b24fc51cb65b32bd131b9dd7f5..fa8028b1e1cf3a6f7dbfa2af346e3b1897a9033b 100644 (file)
@@ -72,7 +72,7 @@
 1998-11-23  Scott Bambrough  <scottb@netwinder.org>
 
        * README.FPE - fix typo in description of lfm/sfm instructions
-       * NOTES - Added file to describe known bugs/problems 
+       * NOTES - Added file to describe known bugs/problems
        * fpmodule.c - Changed version number to 0.94
 
 1998-11-20  Scott Bambrough  <scottb@netwinder.org>
index 859b300d89fde4f9aa8498483a29691059129408..bd425dc13b616b69d868d7520d3fe6e79bf445dc 100644 (file)
@@ -30,7 +30,7 @@ one byte.
        EXCEPTION TRAP ENABLE BYTE
        SYSTEM CONTROL BYTE
        CUMULATIVE EXCEPTION FLAGS BYTE
-       
+
 The FPCR is a 32 bit register consisting of bit flags.
 */