22 Apr, 2008

9 commits

  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    rose: Socket lock was not released before returning to user space
    hci_usb: remove code obfuscation
    drivers/net/appletalk: use time_before, time_before_eq, etc
    drivers/atm: use time_before, time_before_eq, etc
    hci_usb: do not initialize static variables to 0
    tg3: 5701 DMA corruption fix
    atm nicstar: Removal of debug code containing deprecated calls to cli()/sti()
    iwlwifi: Fix unconditional access to station->tidp[].agg.
    netfilter: Fix SIP conntrack build with NAT disabled.
    netfilter: Fix SCTP nat build.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6: (25 commits)
    avr32: Add hardware power-down function call
    avr32: add include/asm-avr32/serial.h
    avr32: don't offer PARPORT_PC
    avr32: don't offer CONFIG_GEN_RTC
    avr32: don't offer CONFIG_RTC
    add include/asm-avr32/xor.h
    avr32: Remove two unused #defines from mm/init.c
    avr32: Implement set_rate(), set_parent() and mode() for pll1
    avr32: Generic clockevents support
    avr32: Move sleep code into mach-at32ap
    avr32: Use constants from sysreg.h in asm.h
    avr32: Delete mostly unused header asm/intc.h
    avr32: start clocksource cleanup
    avr32: pass i2c board info through at32_add_device_twi
    avr32: cleanup - use _AC macro to define PAGE_SIZE
    Generate raw keyboard codes for AVR32 architecture
    atmel_usba_udc: Add support for AT91CAP9 UDPHS
    atmel_usba_udc: Add missing kfree() in usba_udc_remove()
    atmel_usba_udc: move endpoint declarations into platform data.
    atmel_usba_udc: Kill GPIO_PIN_NONE
    ...

    Linus Torvalds
     
  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt:
    hrtimer: optimize the softirq time optimization
    hrtimer: reduce calls to hrtimer_get_softirq_time()
    clockevents: fix typo in tick-broadcast.c
    jiffies: add time_is_after_jiffies and others which compare with jiffies

    Linus Torvalds
     
  • * 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc:
    Deprecate the asm/semaphore.h files in feature-removal-schedule.
    Convert asm/semaphore.h users to linux/semaphore.h
    security: Remove unnecessary inclusions of asm/semaphore.h
    lib: Remove unnecessary inclusions of asm/semaphore.h
    kernel: Remove unnecessary inclusions of asm/semaphore.h
    include: Remove unnecessary inclusions of asm/semaphore.h
    fs: Remove unnecessary inclusions of asm/semaphore.h
    drivers: Remove unnecessary inclusions of asm/semaphore.h
    net: Remove unnecessary inclusions of asm/semaphore.h
    arch: Remove unnecessary inclusions of asm/semaphore.h

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (212 commits)
    [ARM] pxa: Phycore pcm-990-specific code for the PXA270 Quick Capture driver
    [ARM] pxa: V4L2 soc_camera driver for PXA270
    [ARM] pxa: restrict availability of pxa2xx PCMCIA drivers
    [ARM] 5005/1: BAST: Fix kset_name initialiser
    [ARM] 4967/1: Adds functions to set clkout rate for Samsung S3C2410
    [ARM] 4988/1: Add GPIO lib support to the EP93xx
    [ARM] Add initial sparsemem support
    [ARM] pxa: initialise PXA devices before platform init code
    [ARM] 5002/1: tosa: add two more leds
    [ARM] 5004/1: Tosa: make several unreferenced structures static.
    [ARM] 5003/1: Shut up sparse warnings
    [ARM] 4977/2: soc - pxa2xx-ac97 - Add missing clk_enable()
    [ARM] 4976/1: zylonite: Configure GPIO for WM9713 IRQ line
    [ARM] 4974/1: Drop unused leds-tosa.
    [ARM] 4973/1: Tosa: use leds-gpio driver.
    [ARM] 4972/1: Tosa: convert scoop GPIOs usage to generic gpio code
    [ARM] 4971/1: pxaficp_ir: provide startup and shutdown hooks
    [ARM] pxa: lubbock: move mis-placed SPI info
    [ARM] 4970/1: tosa: correct gpio used for wake up.
    [ARM] 4966/1: magician: add MFP pin configuration
    ...

    Linus Torvalds
     
  • …linux-2.6-sched-devel

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel: (62 commits)
    sched: build fix
    sched: better rt-group documentation
    sched: features fix
    sched: /debug/sched_features
    sched: add SCHED_FEAT_DEADLINE
    sched: debug: show a weight tree
    sched: fair: weight calculations
    sched: fair-group: de-couple load-balancing from the rb-trees
    sched: fair-group scheduling vs latency
    sched: rt-group: optimize dequeue_rt_stack
    sched: debug: add some debug code to handle the full hierarchy
    sched: fair-group: SMP-nice for group scheduling
    sched, cpuset: customize sched domains, core
    sched, cpuset: customize sched domains, docs
    sched: prepatory code movement
    sched: rt: multi level group constraints
    sched: task_group hierarchy
    sched: fix the task_group hierarchy for UID grouping
    sched: allow the group scheduler to have multiple levels
    sched: mix tasks and groups
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (77 commits)
    x86: UV startup of slave cpus
    x86: integrate pci-dma.c
    x86: don't do dma if mask is NULL.
    x86: return conditional to mmu
    x86: remove kludge from x86_64
    x86: unify gfp masks
    x86: retry allocation if failed
    x86: don't try to allocate from DMA zone at first
    x86: use a fallback dev for i386
    x86: use numa allocation function in i386
    x86: remove virt_to_bus in pci-dma_64.c
    x86: adjust dma_free_coherent for i386
    x86: move bad_dma_address
    x86: isolate coherent mapping functions
    x86: move dma_coherent functions to pci-dma.c
    x86: merge iommu initialization parameters
    x86: merge dma_supported
    x86: move pci fixup to pci-dma.c
    x86: move x86_64-specific to common code.
    x86: move initialization functions to pci-dma.c
    ...

    Linus Torvalds
     
  • * 'ro-bind.b6' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (24 commits)
    [PATCH] r/o bind mounts: debugging for missed calls
    [PATCH] r/o bind mounts: honor mount writer counts at remount
    [PATCH] r/o bind mounts: track numbers of writers to mounts
    [PATCH] r/o bind mounts: check mnt instead of superblock directly
    [PATCH] r/o bind mounts: elevate count for xfs timestamp updates
    [PATCH] r/o bind mounts: make access() use new r/o helper
    [PATCH] r/o bind mounts: write counts for truncate()
    [PATCH] r/o bind mounts: elevate write count for chmod/chown callers
    [PATCH] r/o bind mounts: elevate write count for open()s
    [PATCH] r/o bind mounts: elevate write count for ioctls()
    [PATCH] r/o bind mounts: write count for file_update_time()
    [PATCH] r/o bind mounts: elevate write count for do_utimes()
    [PATCH] r/o bind mounts: write counts for touch_atime()
    [PATCH] r/o bind mounts: elevate write count for ncp_ioctl()
    [PATCH] r/o bind mounts: elevate write count for xattr_permission() callers
    [PATCH] r/o bind mounts: get write access for vfs_rename() callers
    [PATCH] r/o bind mounts: write counts for link/symlink
    [PATCH] r/o bind mounts: get callers of vfs_mknod/create/mkdir()
    [PATCH] r/o bind mounts: elevate write count for rmdir and unlink.
    [PATCH] r/o bind mounts: drop write during emergency remount
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (27 commits)
    sh: Fix up L2 cache probe.
    sh: Fix up SH-4A part probe.
    sh: Add support for SH7723 CPU subtype.
    sh: Fix up SH7763 build.
    sh: Add migor_ts support to MigoR
    sh: Add rs5c732b RTC support to MigoR
    sh: Add I2C support to MigoR
    sh: Add I2C platform data to sh7722
    sh: MigoR NAND flash support using gen_flash
    sh: MigoR NOR flash support using physmap-flash
    sh: Fix up mach-types formatting from merge damage.
    sh: r7780rp: Hook up the I2C and SMBus platform devices.
    sh: Use phyical addresses for MigoR smc91x resources
    sh: Use physical addresses for sh7722 USBF resources
    sh: Add MigoR header file
    Fix sh_keysc double free
    sh: Fix up __access_ok() check for nommu.
    sh: Allow optimized clear/copy page routines to be used on SH-2.
    sh: Hook up the rest of the SH7770 serial ports.
    sh: Add support for Solution Engine SH7721 board
    ...

    Linus Torvalds
     

21 Apr, 2008

5 commits

  • The RCU iterators used 'rcu_dereference()' on an already-fetched RCU
    pointer value, which defeats the whole point of the exercise.

    When we dereference a pointer protected by RCU, we need to make sure
    that we only fetch the value _once_, because if the compiler ends up
    re-loading it due to register pressure, the newly reloaded value could
    be different from the previously fetched one, and you get inconsistent
    results.

    Cleaned-up, fixed, and the pointless list_for_each_safe_rcu #define
    deleted by Paul Kenney.

    Acked-by: Herbert Xu
    Signed-off-by: Paul E. McKenney
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • The previous optimization did not take the case into account where a
    clock provides its own softirq_get_time() function.

    Check for the availablitiy of the clock get time function first and
    then check if we need to retrieve the time for both clocks via
    hrtimer_softirq_gettime() to avoid a double evaluation of time in that
    case as well.

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • It seems that hrtimer_run_queues() is calling hrtimer_get_softirq_time() more
    often than it needs to. This can cause frequent contention on systems with
    large numbers of processors/cores.

    With this patch, hrtimer_run_queues only calls hrtimer_get_softirq_time() if
    there is a pending timer in one of the hrtimer bases, and only once.

    This also combines hrtimer_run_queues() and the inline run_hrtimer_queue()
    into one function.

    [ tglx@linutronix.de: coding style ]

    Signed-off-by: Dimitri Sivanich
    Cc: Peter Zijlstra
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Thomas Gleixner

    Dimitri Sivanich
     
  • braodcast -> broadcast

    Signed-off-by: Glauber Costa
    Signed-off-by: Andrew Morton
    Signed-off-by: Thomas Gleixner

    Glauber Costa
     
  • Most of time_after like macros usages just compare jiffies and another number,
    so here add some time_is_* macros for convenience.

    Signed-off-by: Dave Young
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Thomas Gleixner

    Dave Young
     

20 Apr, 2008

26 commits

  • ================================================
    [ BUG: lock held when returning to user space! ]
    ------------------------------------------------
    xfbbd/3683 is leaving the kernel with locks still held!
    1 lock held by xfbbd/3683:
    #0: (sk_lock-AF_ROSE){--..}, at: [] rose_connect+0x73/0x420 [rose]

    INFO: task xfbbd:3683 blocked for more than 120 seconds.
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    xfbbd D 00000246 0 3683 3669
    c6965ee0 00000092 c02c5c40 00000246 c0f6b5f0 c0f6b5c0 c0f6b5f0 c0f6b5c0
    c0f6b614 c6965f18 c024b74b ffffffff c06ba070 00000000 00000000 00000001
    c6ab07c0 c012d450 c0f6b634 c0f6b634 c7b5bf10 c0d6004c c7b5bf10 c6965f40
    Call Trace:
    [] lock_sock_nested+0x6b/0xd0
    [] ? autoremove_wake_function+0x0/0x40
    [] sock_fasync+0x41/0x150
    [] sock_close+0x19/0x40
    [] __fput+0xb4/0x170
    [] fput+0x18/0x20
    [] filp_close+0x3e/0x70
    [] sys_close+0x69/0xb0
    [] sysenter_past_esp+0x5f/0xa5
    =======================
    INFO: lockdep is turned off.

    Signed-off-by: Bernard Pidoux
    Signed-off-by: David S. Miller

    Bernard Pidoux
     
  • _urb_free is an alias for kfree... making code longer & harder to
    read. Remove it.

    Signed-off-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Pavel Machek
     
  • The functions time_before, time_before_eq, time_after, and time_after_eq
    are more robust for comparing jiffies against other values.

    A simplified version of the semantic patch making this change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @ change_compare_np @
    expression E;
    @@

    (
    - jiffies = E
    + time_after_eq(jiffies,E)
    |
    - jiffies < E
    + time_before(jiffies,E)
    |
    - jiffies > E
    + time_after(jiffies,E)
    )

    @ include depends on change_compare_np @
    @@

    #include

    @ no_include depends on !include && change_compare_np @
    @@

    #include
    + #include
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Julia Lawall
     
  • The functions time_before, time_before_eq, time_after, and time_after_eq
    are more robust for comparing jiffies against other values.

    A simplified version of the semantic patch making this change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @ change_compare_np @
    expression E;
    @@

    (
    - jiffies = E
    + time_after_eq(jiffies,E)
    |
    - jiffies < E
    + time_before(jiffies,E)
    |
    - jiffies > E
    + time_after(jiffies,E)
    )

    @ include depends on change_compare_np @
    @@

    #include

    @ no_include depends on !include && change_compare_np @
    @@

    #include
    + #include
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Julia Lawall
     
  • hci_usb: do not initialize static variables to 0.

    Signed-off-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Pavel Machek
     
  • Herbert Xu's commit fb93134dfc2a6e6fbedc7c270a31da03fce88db9, entitled
    "[TCP]: Fix size calculation in sk_stream_alloc_pskb", has triggered a
    bug in the 5701 where the 5701 DMA engine will corrupt outgoing
    packets. This problem only happens when the starting address of the
    packet matches a certain range of offsets and only when the 5701 is
    placed downstream of a particular Intel bridge.

    This patch detects the problematic bridge and if present, readjusts the
    starting address of the packet data to a dword aligned boundary.

    Signed-off-by: Matt Carlson
    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Matt Carlson
     
  • Code within NS_DEBUG_SPINLOCKS contained deprecated cli()/sti()
    function calls. NS_DEBUG_SPINLOCKS and the associated code seems to
    be of little use these days so the strategy of removing this code
    rather then updating it to use spinlocks has been taken.

    Signed-off-by: Mark Asselstine
    Reviewed-by: Matthew Wilcox
    Signed-off-by: David S. Miller

    Mark Asselstine
     
  • Reportred by Ingo Molnar:

    drivers/net/wireless/iwlwifi/iwl-debugfs.c: In function 'iwl_dbgfs_stations_read':
    drivers/net/wireless/iwlwifi/iwl-debugfs.c:256: error: 'struct iwl4965_tid_data' has no member named 'agg'

    Needs CONFIG_IWL4965_HT protection.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Reported by Ingo Molnar.

    The SIP helper is also useful without NAT. This patch adds an ifdef
    around the RTP call optimization for NATed clients.

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     
  • We need to select LIBCRC32C.

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     
  • This patch adds in the indirect call to pm_power_off(), as is done in
    other architectures (e.g. ARM).

    Tested on NGW100, with custom board with GPIO control over main DC
    power.

    Signed-off-by: Peter Ma
    Signed-off-by: Haavard Skinnemoen

    Peter Ma
     
  • On Mon, Apr 14, 2008 at 03:36:24PM +0100, Alan Cox wrote:
    > On Mon, 14 Apr 2008 17:17:21 +0300
    > Adrian Bunk wrote:
    >
    > > This patch fixes the following build error:
    > >
    > >
    > >
    > > ...
    > > CC [M] drivers/serial/8250.o
    > > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/serial/8250.c:95:24: error: asm/serial.h: No such file or directory
    > > make[3]: *** [drivers/serial/8250.o] Error 1
    > >
    > >
    > >
    > > Signed-off-by: Adrian Bunk
    > >
    > > ---
    > > 3cb4ef80d75e118ccfd44f7006aea3db54afb31c diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
    > > index b1bbaa0..b0e216d 100644
    > > --- a/drivers/serial/Kconfig
    > > +++ b/drivers/serial/Kconfig
    > > @@ -11,7 +11,7 @@ menu "Serial drivers"
    > > # The new 8250/16550 serial drivers
    > > config SERIAL_8250
    > > tristate "8250/16550 and compatible serial support"
    > > - depends on (BROKEN || !SPARC)
    > > + depends on (BROKEN || !SPARC) && !AVR32
    > > select SERIAL_CORE
    > > ---help---
    >
    > NAK.
    >
    > Add an asm/serial.h to the platform as it has PCI so will have 8250 PCI
    > devices available to it. A copy of the MIPS one should be right.

    Patch below.

    > Alan

    cu
    Adrian

    This patch fixes the following build error with CONFIG_SERIAL_8250:

    ...
    CC [M] drivers/serial/8250.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/serial/8250.c:95:24: error: asm/serial.h: No such file or directory
    make[3]: *** [drivers/serial/8250.o] Error 1

    Signed-off-by: Adrian Bunk
    Acked-by: Alan Cox
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • This patch fixes the following compile error:

    ...
    CC [M] drivers/parport/parport_pc.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c:67:25: error: asm/parport.h: No such file or directory
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c: In function 'parport_pc_find_ports':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c:3215: error: implicit declaration of function 'parport_pc_find_nonpci_ports'
    make[3]: *** [drivers/parport/parport_pc.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • This patch fixes the following compile error:

    ...
    CC [M] drivers/char/genrtc.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/genrtc.c:58:21: error: asm/rtc.h: No such file or directory
    ...
    make[3]: *** [drivers/char/genrtc.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • This patch fixes the following compile error:

    ...
    CC [M] drivers/char/rtc.o
    In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/rtc.c:70:
    /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/mc146818rtc.h:16:59: error: asm/mc146818rtc.h: No such file or directory
    ...
    make[3]: *** [drivers/char/rtc.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • This patch fixes the following compile error with CONFIG_MD_RAID456
    on avr32:

    ...
    CC [M] crypto/xor.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/crypto/xor.c:23:21: error: asm/xor.h: No such file or directory
    /home/bunk/linux/kernel-2.6/git/linux-2.6/crypto/xor.c: In function 'calibrate_xor_blocks':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/crypto/xor.c:131: error: 'XOR_TRY_TEMPLATES' undeclared (first use in this function)
    /home/bunk/linux/kernel-2.6/git/linux-2.6/crypto/xor.c:131: error: (Each undeclared identifier is reported only once
    /home/bunk/linux/kernel-2.6/git/linux-2.6/crypto/xor.c:131: error: for each function it appears in.)
    make[2]: *** [crypto/xor.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • Signed-off-by: Johannes Weiner
    Signed-off-by: Haavard Skinnemoen

    Johannes Weiner
     
  • This patch is a take two of adding full functionality to PLL1 on
    AT32AP7000. This allows board-specific code and drivers to configure
    and enable PLL1. This is useful when precise control over the
    frequency of e.g. a genclock is needed and requested by users for the
    ABDAC device.

    The patch is based upon previous patches from both Haavard Skinnemoen
    and David Brownell.

    Signed-off-by: Hans-Christian Egtvedt
    Signed-off-by: Haavard Skinnemoen

    Hans-Christian Egtvedt
     
  • This combines three patches from David Brownell:
    * avr32: tclib support
    * avr32: simplify clocksources
    * avr32: Turn count/compare into a oneshot clockevent device

    Register both TC blocks (instead of just the first one) so that
    the AT32/AT91 tclib code will pick them up (instead of just the
    avr32-only PIT-style clocksource).

    Rename the first one and its resources appropriately.

    More cleanups to the cycle counter clocksource code

    - Disable all the weak symbol magic; remove the AVR32-only TCB-based
    clocksource code (source and header).

    - Mark the __init code properly.

    - Don't forget to report IRQF_TIMER.

    - Make the system work properly with this clocksource, by preventing
    use of the CPU "idle" sleep state in the idle loop when it's used.

    Package the avr32 count/compare timekeeping support as a oneshot
    clockevent device, so it supports NO_HZ and high res timers.
    This means it also supports plugging in other clockevent devices
    and clocksources.

    Signed-off-by: David Brownell
    Signed-off-by: Haavard Skinnemoen

    David Brownell
     
  • Create a new file, pm-at32ap700x.S, in mach-at32ap and move the CPU
    idle sleep code there. Make it possible to disable the sleep code.

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Move the only thing that was actually implemented and used in
    asm/intc.h, intc_get_pending(), into asm/irq.h and delete asm/intc.h

    Signed-off-by: Haavard Skinnemoen

    Haavard Skinnemoen
     
  • Start cleaning up the AVR32 clocksource mess, starting with the cycle
    counter clocksource: remove unneeded pseudo-RTC (just inline that
    call to mktime) and associated build warning, and unused sysdev.

    Add comment about the problem using the cycle counter register,
    and adjust the clocksource rating accordingly. Later patches can
    make this usable again (by disabling use of the idle state and
    providing a proper clocksource without the weak binding hacks)
    and move towards TCB-based clockevent support (including high
    resolution timers) that's shared between AT91 and AVR32.

    Signed-off-by: David Brownell
    Signed-off-by: Haavard Skinnemoen

    David Brownell
     
  • New-style I2C drivers require that motherboard-mounted I2C devices are
    registered with the I2C core, typically at arch_initcall time. This
    can be done nice and neat by passing the struct i2c_board_info[]
    through at32_add_device_twi just like we do for the SPI board info.

    While we've got the hood up, remove a duplicate declaration of
    at32_add_device_twi() in board.h.

    [hskinnemoen@atmel.com: add missing i2c_board_info forward-declaration]
    Signed-Off-By: Ben Nizette
    Signed-off-by: Haavard Skinnemoen

    Ben Nizette
     
  • PAGE_SIZE is used both from assembly and C code. We want to have type
    specifiers when using it from C, but this will make the assembler
    confused, so we need to make it conditional.

    This is exactly what the _AC macro is for, so using it allows us to
    get rid of a few lines of cpp noise.

    Signed-off-by: Cyrill Gorcunov
    Signed-off-by: Haavard Skinnemoen

    Cyrill Gorcunov
     
  • This patchs adds the AVR32 architecture to the list of archs to generate a
    table of raw keyboard keycodes.

    Signed-off-by: Hans-Christian Egtvedt
    Signed-off-by: Haavard Skinnemoen

    Hans-Christian Egtvedt