-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 169516 b: refs/heads/master c: 5a116dd h: refs/heads/master v: v3
- Loading branch information
Frederic Weisbecker
authored and
Ingo Molnar
committed
Oct 19, 2009
1 parent
1d8bbcb
commit 18c8c39
Showing
15 changed files
with
157 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 11018201b831e19304c0d639f105ad6c27e120b1 | ||
refs/heads/master: 5a116dd2797677cad48fee2f42267e3cb69f5502 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "../../../../include/asm-generic/bitops/__fls.h" | ||
#include "../../../../include/asm-generic/bitops/fls.h" | ||
#include "../../../../include/asm-generic/bitops/fls64.h" | ||
#include "../../../../include/asm-generic/bitops/__ffs.h" | ||
#include "../../../../include/asm-generic/bitops/ffz.h" | ||
#include "../../../../include/asm-generic/bitops/hweight.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "../asm/types.h" | ||
#include "../../../../include/linux/swab.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* stub */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef PERF_ASM_TYPES_H_ | ||
#define PERF_ASM_TYPES_H_ | ||
|
||
#include <linux/compiler.h> | ||
#include "../../types.h" | ||
#include <sys/types.h> | ||
|
||
/* CHECKME: Not sure both always match */ | ||
#define BITS_PER_LONG __WORDSIZE | ||
|
||
typedef u64 __u64; | ||
typedef u32 __u32; | ||
typedef u16 __u16; | ||
typedef u8 __u8; | ||
typedef s64 __s64; | ||
|
||
#endif /* PERF_ASM_TYPES_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifndef _PERF_ASM_UACCESS_H_ | ||
#define _PERF_ASM_UACCESS_H_ | ||
|
||
#define __get_user(src, dest) \ | ||
({ \ | ||
(src) = *dest; \ | ||
0; \ | ||
}) | ||
|
||
#define get_user __get_user | ||
|
||
#define access_ok(type, addr, size) 1 | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "../../../../include/linux/bitmap.h" | ||
#include "../../../../include/asm-generic/bitops/find.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef _PERF_LINUX_BITOPS_H_ | ||
#define _PERF_LINUX_BITOPS_H_ | ||
|
||
#define __KERNEL__ | ||
|
||
#define CONFIG_GENERIC_FIND_NEXT_BIT | ||
#define CONFIG_GENERIC_FIND_FIRST_BIT | ||
#include "../../../../include/linux/bitops.h" | ||
|
||
static inline void set_bit(int nr, unsigned long *addr) | ||
{ | ||
addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG); | ||
} | ||
|
||
static __always_inline int test_bit(unsigned int nr, const unsigned long *addr) | ||
{ | ||
return ((1UL << (nr % BITS_PER_LONG)) & | ||
(((unsigned long *)addr)[nr / BITS_PER_LONG])) != 0; | ||
} | ||
|
||
unsigned long generic_find_next_zero_le_bit(const unsigned long *addr, unsigned | ||
long size, unsigned long offset); | ||
|
||
unsigned long generic_find_next_le_bit(const unsigned long *addr, unsigned | ||
long size, unsigned long offset); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef _PERF_LINUX_COMPILER_H_ | ||
#define _PERF_LINUX_COMPILER_H_ | ||
|
||
#ifndef __always_inline | ||
#define __always_inline inline | ||
#endif | ||
#define __user | ||
#define __attribute_const__ | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../../../../include/linux/ctype.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* stub */ |