brcm2708: update against latest rpi-3.10.y branch
[openwrt/svn-archive/archive.git] / target / linux / brcm2708 / patches-3.10 / 0080-Fix-function-tracing.patch
1 From f7785b067f07e444934fe0e6c31fff36f5863079 Mon Sep 17 00:00:00 2001
2 From: Gordon Hollingworth <gordon@holliweb.co.uk>
3 Date: Mon, 8 Jul 2013 04:12:19 +0100
4 Subject: [PATCH 080/174] Fix function tracing
5
6 ---
7 drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 12 ++++++------
8 1 file changed, 6 insertions(+), 6 deletions(-)
9
10 --- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
11 +++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
12 @@ -77,7 +77,7 @@ int queued_port[MAX_EPS_CHANNELS];
13 #ifdef FIQ_DEBUG
14 char buffer[1000*16];
15 int wptr;
16 -void _fiq_print(FIQDBG_T dbg_lvl, char *fmt, ...)
17 +void notrace _fiq_print(FIQDBG_T dbg_lvl, char *fmt, ...)
18 {
19 FIQDBG_T dbg_lvl_req = FIQDBG_PORTHUB;
20 va_list args;
21 @@ -101,7 +101,7 @@ void _fiq_print(FIQDBG_T dbg_lvl, char *
22 }
23 #endif
24
25 -void fiq_queue_request(int channel, int odd_frame)
26 +void notrace fiq_queue_request(int channel, int odd_frame)
27 {
28 hcchar_data_t hcchar = { .d32 = FIQ_READ(dwc_regs_base + 0x500 + (channel * 0x20) + 0x0) };
29 hcsplt_data_t hcsplt = { .d32 = FIQ_READ(dwc_regs_base + 0x500 + (channel * 0x20) + 0x4) };
30 @@ -147,7 +147,7 @@ static int last_sof = -1;
31 */
32 int diff;
33
34 -int fiq_sof_handle(hfnum_data_t hfnum)
35 +int notrace fiq_sof_handle(hfnum_data_t hfnum)
36 {
37 int handled = 0;
38 int i;
39 @@ -206,12 +206,12 @@ int fiq_sof_handle(hfnum_data_t hfnum)
40 return handled;
41 }
42
43 -int port_id(hcsplt_data_t hcsplt)
44 +int notrace port_id(hcsplt_data_t hcsplt)
45 {
46 return hcsplt.b.prtaddr + (hcsplt.b.hubaddr << 8);
47 }
48
49 -int fiq_hcintr_handle(int channel, hfnum_data_t hfnum)
50 +int notrace fiq_hcintr_handle(int channel, hfnum_data_t hfnum)
51 {
52 hcchar_data_t hcchar = { .d32 = FIQ_READ(dwc_regs_base + 0x500 + (channel * 0x20) + 0x0) };
53 hcsplt_data_t hcsplt = { .d32 = FIQ_READ(dwc_regs_base + 0x500 + (channel * 0x20) + 0x4) };
54 @@ -361,7 +361,7 @@ gintmsk_data_t gintmsk;
55 gintsts_data_t triggered, handled, keep;
56 hfnum_data_t hfnum;
57
58 -void __attribute__ ((naked)) dwc_otg_hcd_handle_fiq(void)
59 +void __attribute__ ((naked)) notrace dwc_otg_hcd_handle_fiq(void)
60 {
61
62 /* entry takes care to store registers we will be treading on here */