Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
4d8a94b0
Commit
4d8a94b0
authored
Nov 27, 2015
by
Philippe Gerum
Browse files
arm/ipipe: fix build with IPIPE disabled
parent
23ceab2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/arm/include/asm/ipipe.h
View file @
4d8a94b0
...
...
@@ -25,6 +25,8 @@
#ifndef __ARM_IPIPE_H
#define __ARM_IPIPE_H
#include
<linux/irqdomain.h>
#ifdef CONFIG_IPIPE
#define BROKEN_BUILTIN_RETURN_ADDRESS
...
...
@@ -41,7 +43,6 @@ extern unsigned long arm_return_addr(int level);
#include
<linux/jump_label.h>
#include
<linux/ipipe_trace.h>
#include
<linux/irqdomain.h>
#define IPIPE_CORE_RELEASE 1
...
...
@@ -252,6 +253,9 @@ int ipipe_handle_domain_irq(struct irq_domain *domain,
#else
/* !CONFIG_IPIPE */
#include
<linux/irq.h>
#include
<linux/irqdesc.h>
#define __ipipe_tsc_update() do { } while(0)
#define hard_smp_processor_id() smp_processor_id()
...
...
@@ -285,6 +289,9 @@ int ipipe_handle_domain_irq(struct irq_domain *domain,
return
handle_domain_irq
(
domain
,
hwirq
,
regs
);
}
struct
timekeeper
;
static
inline
void
__ipipe_update_vsyscall
(
struct
timekeeper
*
tk
)
{}
#endif
/* !CONFIG_IPIPE */
#if defined (CONFIG_IPIPE_DEBUG) && \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment