1. 12 Dec, 2006 12 commits
    • Mauro Carvalho Chehab's avatar
      V4L/DVB (4954): Fix: On ia64, i2c adap->inb/adap->outb are wrongly evaluated · 2a7e9a26
      Mauro Carvalho Chehab authored
      i2c defines two callbacks (inb/outb). On ia64, since it defines also two macros
      with those names, it causes the following errors:
      drivers/media/video/usbvision/usbvision-i2c.c:64:39: macro "outb" passed 4 arguments, but takes just 2
      drivers/media/video/usbvision/usbvision-i2c.c: In function `try_write_address':
      drivers/media/video/usbvision/usbvision-i2c.c:64: warning: assignment makes integer from pointer without a cast
      drivers/media/video/usbvision/usbvision-i2c.c:89:38: macro "inb" passed 4 arguments, but takes just 1
      drivers/media/video/usbvision/usbvision-i2c.c: In function `try_read_address':
      drivers/media/video/usbvision/usbvision-i2c.c:89: warning: assignment makes integer from pointer without a cast
      drivers/media/video/usbvision/usbvision-i2c.c:85: warning: unused variable `buf'
      drivers/media/video/usbvision/usbvision-i2c.c:173:53: macro "inb" passed 4 arguments, but takes just 1
      drivers/media/video/usbvision/usbvision-i2c.c: In function `usb_xfer':
      drivers/media/video/usbvision/usbvision-i2c.c:173: warning: assignment makes integer from pointer without a cast
      drivers/media/video/usbvision/usbvision-i2c.c:179:54: macro "outb" passed 4 arguments, but takes just 2
      drivers/media/video/usbvision/usbvision-i2c.c:179: warning: assignment makes integer from pointer without a cast
      thanks to Andrew Morton for pointing this.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
      2a7e9a26
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 4259cb25
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (32 commits)
        [NETPOLL]: Fix local_bh_enable() warning.
        [IPVS]: Make ip_vs_sync.c <= 80col wide.
        [IPVS]: Use msleep_interruptable() instead of ssleep() aka msleep()
        [HAMRADIO]: Fix baycom_epp.c compile failure.
        [DCCP]: Whitespace cleanups
        [DCCP] ccid3: Fixup some type conversions related to rtts
        [DCCP] ccid3: BUG-FIX - conversion errors
        [DCCP] ccid3: Reorder packet history source file
        [DCCP] ccid3: Reorder packet history header file
        [DCCP] ccid3: Make debug output consistent
        [DCCP] ccid3: Perform history operations only after packet has been sent
        [DCCP] ccid3: TX history - remove unused field
        [DCCP] ccid3: Shift window counter computation
        [DCCP] ccid3: Sanity-check RTT samples
        [DCCP] ccid3: Initialise RTT values
        [DCCP] ccid: Deprecate ccid_hc_tx_insert_options
        [DCCP]: Warn when discarding packet due to internal errors
        [DCCP]: Only deliver to the CCID rx side in charge
        [DCCP]: Simplify TFRC calculation
        [DCCP]: Debug timeval operations
        ...
      4259cb25
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32 · cd39301a
      Linus Torvalds authored
      * 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32:
        [AVR32] Add missing #include <linux/param.h> to delay.c
        [AVR32] Pass dev parameter to dma_cache_sync()
        [AVR32] Implement intc_get_pending()
        [AVR32] Don't include <asm/delay.h>
        [AVR32] Put the chip in "stop" mode when halting the system
        [AVR32] Set flow handler for external interrupts
        [AVR32] Remove unused file
        [AVR32] Remove mii_phy_addr and eth_addr from eth_platform_data
        [AVR32] Move ethernet tag parsing to board-specific code
        [AVR32] Add macb1 platform_device
        [AVR32] Portmux API update
      cd39301a
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 13d7d84e
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (36 commits)
        [POWERPC] Generic BUG for powerpc
        [PPC] Fix compile failure do to introduction of PHY_POLL
        [POWERPC] Only export __mtdcr/__mfdcr if CONFIG_PPC_DCR is set
        [POWERPC] Remove old dcr.S
        [POWERPC] Fix SPU coredump code for max_fdset removal
        [POWERPC] Fix irq routing on some 32-bit PowerMacs
        [POWERPC] ps3: Add vuart support
        [POWERPC] Support ibm,dynamic-reconfiguration-memory nodes
        [POWERPC] dont allow pSeries_probe to succeed without initialising MMU
        [POWERPC] micro optimise pSeries_probe
        [POWERPC] Add SPURR SPR to sysfs
        [POWERPC] Add DSCR SPR to sysfs
        [POWERPC] Fix 440SPe CPU table entry
        [POWERPC] Add support for FP emulation for the e300c2 core
        [POWERPC] of_device_register: propagate device_create_file return code
        [POWERPC] Fix mmap of PCI resource with hack for X
        [POWERPC] iSeries: head_64.o needs to depend on lparmap.s
        [POWERPC] cbe_thermal: Fix initialization of sysfs attribute_group
        [POWERPC] Remove QE header files from lite5200.c
        [POWERPC] of_platform_make_bus_id(): make `magic' int
        ...
      13d7d84e
    • Franck Bui-Huu's avatar
      [MIPS] paging_init(): use highend_pfn/highstart_pfn · cbb8fc07
      Franck Bui-Huu authored
      This patch makes paging_init() use highend_pfn/highstart_pfn globals.
      
      It removes the need of 'high' local which was needed only by HIGHMEM config.
      
      More important perhaps, it fixes a bug when HIGHMEM is set but there's
      actually no physical highmem (highend_pfn = 0)
      Signed-off-by: default avatarFranck Bui-Huu <fbuihuu@gmail.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      cbb8fc07
    • Ralf Baechle's avatar
      b228f4c5
    • Ralf Baechle's avatar
      [MIPS] Discard .exit.text and .exit.data at runtime. · 2efac77e
      Ralf Baechle authored
      While the recent cset 86384d54 did improve
      things it didn't resolve all the problems.  So bite the bullet and discard
      .exit.text and .exit.data at runtime.  Which of course sucks because it
      bloats binaries with code that will never ever be used but it's the only
      thing that will work reliable as demonstrated by the function sd_major() in
      drivers/scsi/sd.c.
      
      Gcc may compile sd_major() using a jump table which it will put into
      .rodata.  If it also inlines sd_major's function body into exit_sd() which
      gcc > 3.4.x does.  If CONFIG_BLK_DEV_SD has been set to y we would like ld
      to discard exit_sd's code at link time.  However sd_major happens to
      contain a switch statement which gcc will compile using a jump table in
      .rodata on the architectures I checked.  So, when ld later discards
      .exit.text only the jump table in .rodata with its stale references to
      the discard .exit.text will be left which any no antique ld will honor
      with a link error.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      2efac77e
    • Ralf Baechle's avatar
      [MIPS] IP27: Don't drag <asm/sn/arch.h> into topology.h. · 8b2f3550
      Ralf Baechle authored
      Another way that old SGI types were getting dragged into generic code.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      8b2f3550
    • Ralf Baechle's avatar
      [MIPS] IP27: Move definition of nic_t to its sole user. · 2bbc5bdf
      Ralf Baechle authored
      This also fixes the duplicate definition of nic_t in the s2io driver.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      2bbc5bdf
    • Ralf Baechle's avatar
      [MIPS] IP27: Don't include <asm/sn/arch.h>. · 2f3643ae
      Ralf Baechle authored
      Nothing <asm/sn/arch.h> defines is used.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      2f3643ae
    • Ralf Baechle's avatar
    • Andrew Morton's avatar
      [NETPOLL]: Fix local_bh_enable() warning. · a49f99ff
      Andrew Morton authored
      During boot we get:
      
      netconsole: device eth0 not up yet, forcing it
      e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
      WARNING (!__warned) at kernel/softirq.c:137 local_bh_enable()
      
      Call Trace:
       [<ffffffff80235baf>] local_bh_enable+0x41/0xa3
       [<ffffffff8045ab8e>] netpoll_send_skb+0x116/0x144
       [<ffffffff8045b1ee>] netpoll_send_udp+0x263/0x271
       [<ffffffff803d41ec>] write_msg+0x42/0x5e
       [<ffffffff80230c9b>] __call_console_drivers+0x5f/0x70
       [<ffffffff80230d19>] _call_console_drivers+0x6d/0x71
       [<ffffffff802313f0>] release_console_sem+0x148/0x1ec
       [<ffffffff802316ce>] register_console+0x1b1/0x1ba
       [<ffffffff803d4178>] init_netconsole+0x54/0x68
       [<ffffffff802071ae>] init+0x152/0x308
       [<ffffffff804dac8b>] _spin_unlock_irq+0x14/0x30
       [<ffffffff8022c15e>] schedule_tail+0x43/0x9f
       [<ffffffff8020a758>] child_rip+0xa/0x12
      
      Herbert sayeth:
      
        Normally networking isn't invoked with interrupts turned off, but I
        suppose we don't have a choice here.  This is unique being a place where you
        can get called with BH on, off, or IRQs off.
      
        Given that this is only used for printk, the easiest solution is probably
        just to disable local IRQs instead of BH.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a49f99ff
  2. 11 Dec, 2006 28 commits