|
@@ -36,7 +36,7 @@
|
|
static DEFINE_SPINLOCK(buffer_lock);
|
|
static DEFINE_SPINLOCK(buffer_lock);
|
|
static DEFINE_SPINLOCK(cache_lock);
|
|
static DEFINE_SPINLOCK(cache_lock);
|
|
static int num_spu_nodes;
|
|
static int num_spu_nodes;
|
|
-int spu_prof_num_nodes;
|
|
|
|
|
|
+static int spu_prof_num_nodes;
|
|
|
|
|
|
struct spu_buffer spu_buff[MAX_NUMNODES * SPUS_PER_NODE];
|
|
struct spu_buffer spu_buff[MAX_NUMNODES * SPUS_PER_NODE];
|
|
struct delayed_work spu_work;
|
|
struct delayed_work spu_work;
|
|
@@ -88,7 +88,7 @@ static void spu_buff_add(unsigned long int value, int spu)
|
|
/* This function copies the per SPU buffers to the
|
|
/* This function copies the per SPU buffers to the
|
|
* OProfile kernel buffer.
|
|
* OProfile kernel buffer.
|
|
*/
|
|
*/
|
|
-void sync_spu_buff(void)
|
|
|
|
|
|
+static void sync_spu_buff(void)
|
|
{
|
|
{
|
|
int spu;
|
|
int spu;
|
|
unsigned long flags;
|
|
unsigned long flags;
|