Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
1736a56f
Commit
1736a56f
authored
Sep 08, 2014
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: rename kconfig option for unaligned emulation
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
5c05483e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
arch/arc/Kconfig
arch/arc/Kconfig
+1
-1
arch/arc/include/asm/unaligned.h
arch/arc/include/asm/unaligned.h
+1
-1
arch/arc/kernel/Makefile
arch/arc/kernel/Makefile
+1
-1
arch/arc/kernel/disasm.c
arch/arc/kernel/disasm.c
+2
-2
No files found.
arch/arc/Kconfig
View file @
1736a56f
...
...
@@ -355,7 +355,7 @@ config ARC_CURR_IN_REG
kernel mode. This saves memory access for each such access
config ARC_
MISALIGN_ACCESS
config ARC_
EMUL_UNALIGNED
bool "Emulate unaligned memory access (userspace only)"
select SYSCTL_ARCH_UNALIGN_NO_WARN
select SYSCTL_ARCH_UNALIGN_ALLOW
...
...
arch/arc/include/asm/unaligned.h
View file @
1736a56f
...
...
@@ -14,7 +14,7 @@
#include <asm-generic/unaligned.h>
#include <asm/ptrace.h>
#ifdef CONFIG_ARC_
MISALIGN_ACCESS
#ifdef CONFIG_ARC_
EMUL_UNALIGNED
int
misaligned_fixup
(
unsigned
long
address
,
struct
pt_regs
*
regs
,
struct
callee_regs
*
cregs
);
#else
...
...
arch/arc/kernel/Makefile
View file @
1736a56f
...
...
@@ -16,7 +16,7 @@ obj-$(CONFIG_MODULES) += arcksyms.o module.o
obj-$(CONFIG_SMP)
+=
smp.o
obj-$(CONFIG_ARC_DW2_UNWIND)
+=
unwind.o
obj-$(CONFIG_KPROBES)
+=
kprobes.o
obj-$(CONFIG_ARC_
MISALIGN_ACCESS
)
+=
unaligned.o
obj-$(CONFIG_ARC_
EMUL_UNALIGNED
)
+=
unaligned.o
obj-$(CONFIG_KGDB)
+=
kgdb.o
obj-$(CONFIG_ARC_METAWARE_HLINK)
+=
arc_hostlink.o
obj-$(CONFIG_PERF_EVENTS)
+=
perf_event.o
...
...
arch/arc/kernel/disasm.c
View file @
1736a56f
...
...
@@ -15,7 +15,7 @@
#include <linux/uaccess.h>
#include <asm/disasm.h>
#if defined(CONFIG_KGDB) || defined(CONFIG_ARC_
MISALIGN_ACCESS
) || \
#if defined(CONFIG_KGDB) || defined(CONFIG_ARC_
EMUL_UNALIGNED
) || \
defined(CONFIG_KPROBES)
/* disasm_instr: Analyses instruction at addr, stores
...
...
@@ -535,4 +535,4 @@ int __kprobes disasm_next_pc(unsigned long pc, struct pt_regs *regs,
return
instr
.
is_branch
;
}
#endif
/* CONFIG_KGDB || CONFIG_ARC_
MISALIGN_ACCESS
|| CONFIG_KPROBES */
#endif
/* CONFIG_KGDB || CONFIG_ARC_
EMUL_UNALIGNED
|| CONFIG_KPROBES */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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