Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Enabled HAVE_PERF_EVENTS for RISC-V #124

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/riscv/Kconfig
Expand Up @@ -25,6 +25,7 @@ config RISCV
select HAVE_DMA_API_DEBUG
select HAVE_DMA_CONTIGUOUS
select HAVE_GENERIC_DMA_COHERENT
select HAVE_PERF_EVENTS
select IRQ_DOMAIN
select NO_BOOTMEM
select RISCV_ISA_A if SMP
Expand Down
1 change: 1 addition & 0 deletions arch/riscv/include/asm/Kbuild
Expand Up @@ -26,6 +26,7 @@ generic-y += kdebug.h
generic-y += kmap_types.h
generic-y += kvm_para.h
generic-y += local.h
generic-y += local64.h
generic-y += mm-arch-hooks.h
generic-y += mman.h
generic-y += module.h
Expand Down
13 changes: 13 additions & 0 deletions arch/riscv/include/asm/perf_event.h
@@ -0,0 +1,13 @@
/*
* Copyright (C) 2018 SiFive
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/

#ifndef _ASM_RISCV_PERF_EVENT_H
#define _ASM_RISCV_PERF_EVENT_H

#endif /* _ASM_RISCV_PERF_EVENT_H */