1. 28 9月, 2011 1 次提交
  2. 13 9月, 2011 4 次提交
  3. 10 8月, 2011 1 次提交
    • S
      x86, amd: Include elf.h explicitly, prepare the code for the module.h split · 5cdd174f
      Stephen Rothwell 提交于
      When the moduleu.h splitting tree is merged to the latest
      tip:x86/cpu tree, the x86_64 allmodconfig build fails like this:
      
       arch/x86/kernel/cpu/amd.c: In function 'bsp_init_amd':
       arch/x86/kernel/cpu/amd.c:437:3: error: 'va_align' undeclared (first use in this function)
       arch/x86/kernel/cpu/amd.c:438:23: error: 'ALIGN_VA_32' undeclared (first use in this function)
       arch/x86/kernel/cpu/amd.c:438:37: error: 'ALIGN_VA_64' undeclared (first use in this function)
      
      This is caused by the module.h split up intreacting with commit
      dfb09f9b ("x86, amd: Avoid cache aliasing penalties on AMD
      family 15h") from the tip:x86/cpu tree.
      
      I have added the following patch for today (this, or something
      similar, could be applied to the tip tree directly - the
      export.h include below was added by the module.h splitup).
      
      So include elf.h to use va_align and remove this implicit
      dependency on module.h doing it for us.
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Cc: Borislav Petkov <borislav.petkov@amd.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Link: http://lkml.kernel.org/r/20110810114956.238d66772883636e3040d29f@canb.auug.org.auSigned-off-by: NIngo Molnar <mingo@elte.hu>
      5cdd174f
  4. 07 8月, 2011 1 次提交
  5. 06 8月, 2011 3 次提交
  6. 22 7月, 2011 3 次提交
  7. 19 7月, 2011 2 次提交
  8. 17 7月, 2011 1 次提交
  9. 16 7月, 2011 5 次提交
  10. 15 7月, 2011 2 次提交
  11. 13 7月, 2011 1 次提交
  12. 12 7月, 2011 3 次提交
  13. 11 7月, 2011 5 次提交
  14. 08 7月, 2011 5 次提交
  15. 07 7月, 2011 3 次提交
    • W
      arm: mach-vt8500: add forgotten irq_data conversion · d30e1521
      Wolfram Sang 提交于
      This platform has not been converted to 'struct irq_data' when the big
      pile was done. It fails to compile nowadays, because the compatibility
      code has gone.
      
        CC      arch/arm/mach-vt8500/irq.o
      arch/arm/mach-vt8500/irq.c:118:2: error: unknown field 'ack' specified in initializer
      arch/arm/mach-vt8500/irq.c:118:2: warning: initialization from incompatible pointer type
      arch/arm/mach-vt8500/irq.c:119:2: error: unknown field 'mask' specified in initializer
      arch/arm/mach-vt8500/irq.c:119:2: warning: initialization from incompatible pointer type
      arch/arm/mach-vt8500/irq.c:120:2: error: unknown field 'unmask' specified in initializer
      arch/arm/mach-vt8500/irq.c:120:2: warning: initialization from incompatible pointer type
      arch/arm/mach-vt8500/irq.c:121:2: error: unknown field 'set_type' specified in initializer
      arch/arm/mach-vt8500/irq.c:121:2: warning: initialization from incompatible pointer type
      make[1]: *** [arch/arm/mach-vt8500/irq.o] Error 1
      
      Add the missing conversion. Tested on a JayPC-Tablet.
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NAlexey Charkov <alchark@gmail.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      d30e1521
    • V
      ARM: 6994/1: smp_twd: Fix typo in 'twd_timer_rate' printing · 90c5ffe5
      Vitaly Kuzmichev 提交于
      To get hundredths of MHz the rate needs to be divided by 10'000.
      Here is an example:
       twd_timer_rate = 123456789
       Before the patch:
          twd_timer_rate / 1000000 = 123
          (twd_timer_rate / 1000000) % 100 = 23
          Result: 123.23MHz.
       After being fixed:
          twd_timer_rate / 1000000 = 123
          (twd_timer_rate / 10000) % 100 = 45
          Result: 123.45MHz.
      Signed-off-by: NVitaly Kuzmichev <vkuzmichev@mvista.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      90c5ffe5
    • M
      x86: Don't use the EFI reboot method by default · f70e957c
      Matthew Garrett 提交于
      Testing suggests that at least some Lenovos and some Intels will
      fail to reboot via EFI, attempting to jump to an unmapped
      physical address. In the long run we could handle this by
      providing a page table with a 1:1 mapping of physical addresses,
      but for now it's probably just easier to assume that ACPI or
      legacy methods will be present and reboot via those.
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Alan Cox <alan@linux.intel.com>
      Link: http://lkml.kernel.org/r/1309985557-15350-1-git-send-email-mjg@redhat.comSigned-off-by: NIngo Molnar <mingo@elte.hu>
      f70e957c