diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
| commit | 659c36fcda403013a01b85da07cf2d9711e6d6c7 (patch) | |
| tree | ece2e7d0e2c19ea5a3d0ec172ad0b81a8a19021d /include/linux/firewire.h | |
| parent | 9521d830b6341d1887dcfc2aebde23fbfa5f1473 (diff) | |
| parent | 5a7ed29c7572d00a75e8c4529e30c5ac2ef82271 (diff) | |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes and improvements for perf/core:
. Overhaul the tools/ makefiles, gluing them to the top level Makefile, from
Borislav Petkov.
. Move the UI files from tools/perf/util/ui/ to tools/perf/ui/. Also move
the GTK+ browser to tools/perf/ui/gtk/, from Namhyung Kim.
. Only fallback to sw cycles counter on ENOENT for the hw cycles, from
Robert Richter
. Trivial fixes from Robert Richter
. Handle the autogenerated bison/flex files better, from Namhyung and Jiri Olsa.
. Navigate jump instructions in the annotate browser, just press enter or ->,
still needs support for a jump navigation history, i.e. to go back.
. Search string in the annotate browser: same keys as vim:
/ forward
n next backward/forward
? backward
. Clarify number of events/samples in the report header, from Ashay Rane
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/firewire.h')
| -rw-r--r-- | include/linux/firewire.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h index 84ccf8e04fa6..4db7b68f0582 100644 --- a/include/linux/firewire.h +++ b/include/linux/firewire.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #define _LINUX_FIREWIRE_H | 2 | #define _LINUX_FIREWIRE_H |
| 3 | 3 | ||
| 4 | #include <linux/completion.h> | 4 | #include <linux/completion.h> |
| 5 | #include <linux/device.h> | ||
| 6 | #include <linux/dma-mapping.h> | 5 | #include <linux/dma-mapping.h> |
| 7 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
| 8 | #include <linux/kref.h> | 7 | #include <linux/kref.h> |
| @@ -17,9 +16,6 @@ | |||
| 17 | #include <linux/atomic.h> | 16 | #include <linux/atomic.h> |
| 18 | #include <asm/byteorder.h> | 17 | #include <asm/byteorder.h> |
| 19 | 18 | ||
| 20 | #define fw_notify(s, args...) printk(KERN_NOTICE KBUILD_MODNAME ": " s, ## args) | ||
| 21 | #define fw_error(s, args...) printk(KERN_ERR KBUILD_MODNAME ": " s, ## args) | ||
| 22 | |||
| 23 | #define CSR_REGISTER_BASE 0xfffff0000000ULL | 19 | #define CSR_REGISTER_BASE 0xfffff0000000ULL |
| 24 | 20 | ||
| 25 | /* register offsets are relative to CSR_REGISTER_BASE */ | 21 | /* register offsets are relative to CSR_REGISTER_BASE */ |
| @@ -68,6 +64,8 @@ | |||
| 68 | #define CSR_MODEL 0x17 | 64 | #define CSR_MODEL 0x17 |
| 69 | #define CSR_DIRECTORY_ID 0x20 | 65 | #define CSR_DIRECTORY_ID 0x20 |
| 70 | 66 | ||
| 67 | struct device; | ||
| 68 | |||
| 71 | struct fw_csr_iterator { | 69 | struct fw_csr_iterator { |
| 72 | const u32 *p; | 70 | const u32 *p; |
| 73 | const u32 *end; | 71 | const u32 *end; |
| @@ -203,18 +201,6 @@ static inline int fw_device_is_shutdown(struct fw_device *device) | |||
| 203 | return atomic_read(&device->state) == FW_DEVICE_SHUTDOWN; | 201 | return atomic_read(&device->state) == FW_DEVICE_SHUTDOWN; |
| 204 | } | 202 | } |
| 205 | 203 | ||
| 206 | static inline struct fw_device *fw_device_get(struct fw_device *device) | ||
| 207 | { | ||
| 208 | get_device(&device->device); | ||
| 209 | |||
| 210 | return device; | ||
| 211 | } | ||
| 212 | |||
| 213 | static inline void fw_device_put(struct fw_device *device) | ||
| 214 | { | ||
| 215 | put_device(&device->device); | ||
| 216 | } | ||
| 217 | |||
| 218 | int fw_device_enable_phys_dma(struct fw_device *device); | 204 | int fw_device_enable_phys_dma(struct fw_device *device); |
| 219 | 205 | ||
| 220 | /* | 206 | /* |
| @@ -441,6 +427,7 @@ int fw_iso_context_queue(struct fw_iso_context *ctx, | |||
| 441 | struct fw_iso_buffer *buffer, | 427 | struct fw_iso_buffer *buffer, |
| 442 | unsigned long payload); | 428 | unsigned long payload); |
| 443 | void fw_iso_context_queue_flush(struct fw_iso_context *ctx); | 429 | void fw_iso_context_queue_flush(struct fw_iso_context *ctx); |
| 430 | int fw_iso_context_flush_completions(struct fw_iso_context *ctx); | ||
| 444 | int fw_iso_context_start(struct fw_iso_context *ctx, | 431 | int fw_iso_context_start(struct fw_iso_context *ctx, |
| 445 | int cycle, int sync, int tags); | 432 | int cycle, int sync, int tags); |
| 446 | int fw_iso_context_stop(struct fw_iso_context *ctx); | 433 | int fw_iso_context_stop(struct fw_iso_context *ctx); |
