+ clocksource-small-cleanup.patch added to -mm tree

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

 



The patch titled

     clocksource: small cleanup

has been added to the -mm tree.  Its filename is

     clocksource-small-cleanup.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: clocksource: small cleanup
From: Daniel Walker <dwalker@xxxxxxxxxx>

Mostly changing alignment. Just some general cleanup.

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>
Acked-by: John Stultz <johnstul@xxxxxxxxxx>
Cc: john stultz <johnstul@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Roman Zippel <zippel@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/clocksource.h |    2 +-
 kernel/time/clocksource.c   |    6 +++---
 kernel/timer.c              |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff -puN include/linux/clocksource.h~clocksource-small-cleanup include/linux/clocksource.h
--- a/include/linux/clocksource.h~clocksource-small-cleanup
+++ a/include/linux/clocksource.h
@@ -159,7 +159,7 @@ static inline s64 cyc2ns(struct clocksou
  * Unless you're the timekeeping code, you should not be using this!
  */
 static inline void clocksource_calculate_interval(struct clocksource *c,
-						unsigned long length_nsec)
+					  	  unsigned long length_nsec)
 {
 	u64 tmp;
 
diff -puN kernel/time/clocksource.c~clocksource-small-cleanup kernel/time/clocksource.c
--- a/kernel/time/clocksource.c~clocksource-small-cleanup
+++ a/kernel/time/clocksource.c
@@ -143,7 +143,7 @@ int clocksource_register(struct clocksou
 	/* check if clocksource is already registered */
 	if (is_registered_source(c)) {
 		printk("register_clocksource: Cannot register %s. "
-			"Already registered!", c->name);
+		       "Already registered!", c->name);
 		ret = -EBUSY;
 	} else {
 		/* register it */
@@ -262,10 +262,10 @@ sysfs_show_available_clocksources(struct
  * Sysfs setup bits:
  */
 static SYSDEV_ATTR(current_clocksource, 0600, sysfs_show_current_clocksources,
-			sysfs_override_clocksource);
+		   sysfs_override_clocksource);
 
 static SYSDEV_ATTR(available_clocksource, 0600,
-			sysfs_show_available_clocksources, NULL);
+		   sysfs_show_available_clocksources, NULL);
 
 static struct sysdev_class clocksource_sysclass = {
 	set_kset_name("clocksource"),
diff -puN kernel/timer.c~clocksource-small-cleanup kernel/timer.c
--- a/kernel/timer.c~clocksource-small-cleanup
+++ a/kernel/timer.c
@@ -786,7 +786,7 @@ static int change_clocksource(void)
 		clock = new;
 		clock->cycle_last = now;
 		printk(KERN_INFO "Time: %s clocksource has been installed.\n",
-					clock->name);
+		       clock->name);
 		return 1;
 	} else if (clock->update_callback) {
 		return clock->update_callback();
@@ -794,7 +794,7 @@ static int change_clocksource(void)
 	return 0;
 }
 #else
-#define change_clocksource() (0)
+#define change_clocksource()	do { 0; } while(0)
 #endif
 
 /**
_

Patches currently in -mm which might be from dwalker@xxxxxxxxxx are

sched-likely-profiling.patch
clocksource-increase-initcall-priority.patch
clocksource-small-cleanup.patch
clocksource-move-old-api-calls.patch
clocksource-add-some-new-api-calls.patch
clocksource-convert-generic-timeofday.patch
clocksource-add-block-notifier.patch
clocksource-remove-update_callback.patch
clocksource-initialize-list-value.patch
clocksource-add-generic-sched_clock.patch
clocksource-update-kernel-parameters.patch
profile-likely-unlikely-macros.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux