sparc64: Add 'reg_num' argument to pcr_ops methods.
SPARC-T4 and later have multiple PCR registers, one for each PIC counter. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
#define __PCR_H
|
||||
|
||||
struct pcr_ops {
|
||||
u64 (*read)(void);
|
||||
void (*write)(u64);
|
||||
u64 (*read)(unsigned long);
|
||||
void (*write)(unsigned long, u64);
|
||||
};
|
||||
extern const struct pcr_ops *pcr_ops;
|
||||
|
||||
|
Reference in New Issue
Block a user