Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion poll_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ static void poll_napi(struct net_device *dev, int budget)
}
}
#else
#ifdef __arm__
#if __LINUX_ARM_ARCH__ >= 6
static __always_inline void __attribute__((optimize("O2", "-fno-omit-frame-pointer"))) poll_napi(struct net_device *dev, int budget)
#endif
#else
static void __attribute__((optimize("O2", "-fno-omit-frame-pointer"))) poll_napi(struct net_device *dev, int budget)
#endif
{
struct napi_struct *napi;
int cpu = smp_processor_id();
Expand Down Expand Up @@ -92,4 +98,4 @@ void netpoll_poll_dev_copy(struct net_device *dev, void(*zap_completion_queue)(v

zap_completion_queue();
}
#endif
#endif