1. 15 3月, 2011 1 次提交
    • M
      microblaze: Fix microblaze init vectors · 626afa35
      Michal Simek 提交于
      Microblaze vector table stores several vectors (reset, user exception,
      interrupt, debug exception and hardware exception).
      All these functions can be below address 0x10000. If they are, wrong
      vector table is genarated because jump is not setup from two instructions
      (imm upper 16bit and brai lower 16bit).
      Adding specific offset prevent problem if address is below 0x10000.
      For this case only brai instruction is used.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      626afa35
  2. 10 3月, 2011 1 次提交
    • M
      microblaze: Fix circular headers dependency when ftrace is enabled. · caa66ce9
      Michal Simek 提交于
      Remove compilation failure when ftrace in enabled.
      
      Error log:
        CC      kernel/trace/power-traces.o
      In file included from arch/microblaze/include/asm/irq.h:15,
                       from include/linux/irq.h:27,
                       from include/asm-generic/hardirq.h:12,
                       from arch/microblaze/include/asm/hardirq.h:15,
                       from include/linux/hardirq.h:7,
                       from include/linux/ftrace_event.h:7,
                       from include/trace/ftrace.h:19,
                       from include/trace/define_trace.h:96,
                       from include/trace/events/power.h:240,
                       from kernel/trace/power-traces.c:14:
      include/linux/interrupt.h: In function '__raise_softirq_irqoff':
      include/linux/interrupt.h:413: error: implicit declaration of function 'trace_softirq_raise'
      In file included from include/trace/ftrace.h:554,
                       from include/trace/define_trace.h:96,
                       from include/trace/events/power.h:240,
                       from kernel/trace/power-traces.c:14:
      include/trace/events/irq.h: In function 'ftrace_test_probe_irq_handler_entry':
      include/trace/events/irq.h:37: error: implicit declaration of function 'check_trace_callback_type_irq_handler_entry'
      include/trace/events/irq.h: In function 'ftrace_test_probe_irq_handler_exit':
      include/trace/events/irq.h:67: error: implicit declaration of function 'check_trace_callback_type_irq_handler_exit'
      include/trace/events/irq.h: In function 'ftrace_test_probe_softirq_entry':
      include/trace/events/irq.h:112: error: implicit declaration of function 'check_trace_callback_type_softirq_entry'
      include/trace/events/irq.h: In function 'ftrace_test_probe_softirq_exit':
      include/trace/events/irq.h:126: error: implicit declaration of function 'check_trace_callback_type_softirq_exit'
      include/trace/events/irq.h: In function 'ftrace_test_probe_softirq_raise':
      include/trace/events/irq.h:140: error: implicit declaration of function 'check_trace_callback_type_softirq_raise'
      make[5]: *** [kernel/trace/power-traces.o] Error 1
      make[4]: *** [kernel/trace] Error 2
      make[3]: *** [kernel] Error 2
      Suggested-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      caa66ce9
  3. 09 3月, 2011 29 次提交
  4. 08 3月, 2011 9 次提交