mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Fix ~124 single-word typos and a few spelling errors in the perf tooling code, accumulated over the years. Signed-off-by: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
16 lines
493 B
C
16 lines
493 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __PERF_UTIL_HEADER_H
|
|
#define __PERF_UTIL_HEADER_H
|
|
|
|
#include <linux/stringify.h>
|
|
|
|
#define mfspr(rn) ({unsigned long rval; \
|
|
asm volatile("mfspr %0," __stringify(rn) \
|
|
: "=r" (rval)); rval; })
|
|
|
|
#define SPRN_PVR 0x11F /* Processor Version Register */
|
|
#define PVR_VER(pvr) (((pvr) >> 16) & 0xFFFF) /* Version field */
|
|
#define PVR_REV(pvr) (((pvr) >> 0) & 0xFFFF) /* Revision field */
|
|
|
|
#endif /* __PERF_UTIL_HEADER_H */
|