+ i386-mark-pit_clockevent-static.patch added to -mm tree

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

 



The patch titled
     i386: mark pit_clockevent static
has been added to the -mm tree.  Its filename is
     i386-mark-pit_clockevent-static.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

------------------------------------------------------
Subject: i386: mark pit_clockevent static
From: Josh Triplett <josht@xxxxxxxxxxxxxxxxxx>

Nothing outside of arch/i386/kernel/i8253.c uses pit_clockevent, so mark it
static.

Eliminates a sparse warning:
warning: symbol 'pit_clockevent' was not declared. Should it be static?

Signed-off-by: Josh Triplett <josh@xxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/i386/kernel/i8253.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/i386/kernel/i8253.c~i386-mark-pit_clockevent-static arch/i386/kernel/i8253.c
--- a/arch/i386/kernel/i8253.c~i386-mark-pit_clockevent-static
+++ a/arch/i386/kernel/i8253.c
@@ -91,7 +91,7 @@ static int pit_next_event(unsigned long 
  * registered. This mechanism replaces the previous #ifdef LOCAL_APIC -
  * !using_apic_timer decisions in do_timer_interrupt_hook()
  */
-struct clock_event_device pit_clockevent = {
+static struct clock_event_device pit_clockevent = {
 	.name		= "pit",
 	.features	= CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT,
 	.set_mode	= init_pit_timer,
_

Patches currently in -mm which might be from josht@xxxxxxxxxxxxxxxxxx are

origin.patch
i386-mark-pit_clockevent-static.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