Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169535
b: refs/heads/master
c: 802da5f
h: refs/heads/master
i:
  169533: cf0d7a9
  169531: 8766bd1
  169527: a77a42e
  169519: 841b23b
  169503: 6399427
  169471: 81ebf26
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Oct 23, 2009
1 parent 0310c7e commit 75af5f6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4fb581b15949cfd10b64c8af37bc106e95307f3
refs/heads/master: 802da5f2289bbe363acef084805195c11f453c48
1 change: 0 additions & 1 deletion trunk/tools/perf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ LIB_H += util/include/asm/bitops.h
LIB_H += util/include/asm/byteorder.h
LIB_H += util/include/asm/swab.h
LIB_H += util/include/asm/system.h
LIB_H += util/include/asm/types.h
LIB_H += util/include/asm/uaccess.h
LIB_H += perf.h
LIB_H += util/event.h
Expand Down
12 changes: 12 additions & 0 deletions trunk/tools/perf/util/include/asm/bitops.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
#ifndef _PERF_ASM_BITOPS_H_
#define _PERF_ASM_BITOPS_H_

#include <sys/types.h>
#include "../../types.h"
#include <linux/compiler.h>

/* CHECKME: Not sure both always match */
#define BITS_PER_LONG __WORDSIZE

#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"

#endif
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/include/asm/byteorder.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#include "../asm/types.h"
#include <asm/types.h>
#include "../../../../include/linux/swab.h"
17 changes: 0 additions & 17 deletions trunk/tools/perf/util/include/asm/types.h

This file was deleted.

2 changes: 2 additions & 0 deletions trunk/tools/perf/util/include/linux/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _PERF_LINUX_TYPES_H_
#define _PERF_LINUX_TYPES_H_

#include <asm/types.h>

#define DECLARE_BITMAP(name,bits) \
unsigned long name[BITS_TO_LONGS(bits)]

Expand Down

0 comments on commit 75af5f6

Please sign in to comment.