Message ID | 1244891502-12393-1-git-send-email-vapier@gentoo.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 60d00d1..90fb953 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -104,6 +104,11 @@ cat << EOF #define __IGNORE_sync_file_range #endif +/* if the port doesn't have support for it yet */ +#ifndef CONFIG_HAVE_PERF_COUNTERS +#define __IGNORE_perf_counter_open +#endif + /* Unmerged syscalls for AFS, STREAMS, etc. */ #define __IGNORE_afs_syscall #define __IGNORE_getpmsg