git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-kbuild-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git]
/
arch
/
x86
/
include
/
asm
/
unistd_64.h
diff --git
a/arch/x86/include/asm/unistd_64.h
b/arch/x86/include/asm/unistd_64.h
index
900e161
..
b9f3c60
100644
(file)
--- a/
arch/x86/include/asm/unistd_64.h
+++ b/
arch/x86/include/asm/unistd_64.h
@@
-688,6
+688,12
@@
__SYSCALL(__NR_perf_counter_open, sys_perf_counter_open)
#endif /* __NO_STUBS */
#ifdef __KERNEL__
+
+#ifndef COMPILE_OFFSETS
+#include <asm/asm-offsets.h>
+#define NR_syscalls (__NR_syscall_max + 1)
+#endif
+
/*
* "Conditional" syscalls
*