1. 27 Feb, 2009 2 commits
    • Ben Dooks's avatar
      [ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/irq.c · fdca9bf2
      Ben Dooks authored
      Fix the following sparse warnings in arch/arm/plat-s3c64xx/irq.c
      
      arch/arm/plat-s3c64xx/irq.c:210:23: warning: incorrect type in initializer (different address spaces)
      arch/arm/plat-s3c64xx/irq.c:210:23:    expected void *reg_base
      arch/arm/plat-s3c64xx/irq.c:210:23:    got void [noderef] <asn:2>*regs
      arch/arm/plat-s3c64xx/irq.c:215:2: warning: incorrect type in argument 1 (different address spaces)
      arch/arm/plat-s3c64xx/irq.c:215:2:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/plat-s3c64xx/irq.c:215:2:    got void *
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      fdca9bf2
    • Ben Dooks's avatar
      [ARM] S3C64XX: sparse warnings in arch/arm/plat-s3c64xx/s3c6400-clock.c · 3782d360
      Ben Dooks authored
      Fix the following sparse warnings in s3c6400-clock.c:
      
      39:12: warning: symbol 'clk_ext_xtal_mux' was not declared. Should it be static?
      66:12: warning: symbol 'clk_fout_apll' was not declared. Should it be static?
      81:19: warning: symbol 'clk_mout_apll' was not declared. Should it be static?
      91:12: warning: symbol 'clk_fout_epll' was not declared. Should it be static?
      106:19: warning: symbol 'clk_mout_epll' was not declared. Should it be static?
      126:19: warning: symbol 'clk_mout_mpll' was not declared. Should it be static?
      148:12: warning: symbol 'clk_dout_mpll' was not declared. Should it be static?
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      3782d360
  2. 26 Feb, 2009 9 commits
  3. 23 Feb, 2009 10 commits
  4. 22 Feb, 2009 16 commits
  5. 21 Feb, 2009 3 commits
    • Linus Torvalds's avatar
      Merge branch 'hibernate' · adfafefd
      Linus Torvalds authored
      * hibernate:
        PM: Fix suspend_console and resume_console to use only one semaphore
        PM: Wait for console in resume
        PM: Fix pm_notifiers during user mode hibernation
        swsusp: clean up shrink_all_zones()
        swsusp: dont fiddle with swappiness
        PM: fix build for CONFIG_PM unset
        PM/hibernate: fix "swap breaks after hibernation failures"
        PM/resume: wait for device probing to finish
        Consolidate driver_probe_done() loops into one place
      adfafefd
    • Arve Hjønnevåg's avatar
      PM: Fix suspend_console and resume_console to use only one semaphore · 403f3075
      Arve Hjønnevåg authored
      This fixes a race where a thread acquires the console while the
      console is suspended, and the console is resumed before this
      thread releases it. In this case, the secondary console
      semaphore would be left locked, and the primary semaphore would
      be released twice. This in turn would cause the console switch
      on suspend or resume to hang forever.
      
      Note that suspend_console does not actually lock the console
      for clients that use acquire_console_sem, it only locks it for
      clients that use try_acquire_console_sem. If we change
      suspend_console to fully lock the console, then the kernel
      may deadlock on suspend. One client of try_acquire_console_sem
      is acquire_console_semaphore_for_printk, which uses it to
      prevent printk from using the console while it is suspended.
      Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Greg KH <gregkh@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      403f3075
    • Arve Hjønnevåg's avatar
      PM: Wait for console in resume · b090f9fa
      Arve Hjønnevåg authored
      Avoids later waking up to a blinking cursor if the device woke up and
      returned to sleep before the console switch happened.
      Signed-off-by: default avatarBrian Swetland <swetland@google.com>
      Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Greg KH <gregkh@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b090f9fa