Re: [PATCH] MIPS: CEVT: Make R4K's clockevent_device name more meaningful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/2014 01:31 PM, Joshua Kinard wrote:
Change the R4K clockevent device's name from "MIPS" to something a bit more
meaningful, "CEVT-R4K".


This is visible to userspace, so how does changing this effect the kernel <--> userspace ABI? Or in other words, what uses this, and could changing it possibly break things?

David Daney


Signed-off-by: Joshua Kinard <kumba@xxxxxxxxxx>
---
  arch/mips/kernel/cevt-r4k.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c
index bc127e2..f531cac 100644
--- a/arch/mips/kernel/cevt-r4k.c
+++ b/arch/mips/kernel/cevt-r4k.c
@@ -178,7 +178,7 @@ int r4k_clockevent_init(void)

  	cd = &per_cpu(mips_clockevent_device, cpu);

-	cd->name		= "MIPS";
+	cd->name		= "CEVT-R4K";
  	cd->features		= CLOCK_EVT_FEAT_ONESHOT |
  				  CLOCK_EVT_FEAT_C3STOP |
  				  CLOCK_EVT_FEAT_PERCPU;










[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux