All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geoff Levand <geoffrey.levand@am.sony.com>
To: paulus@samba.org
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>, linuxppc-dev@ozlabs.org
Subject: [patch 2/5] PS3: Add time include to lpm
Date: Wed, 30 Apr 2008 15:25:09 -0700	[thread overview]
Message-ID: <4818F1C5.2010800@am.sony.com> (raw)
In-Reply-To: <20080430215644.655638516@am.sony.com>

From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Add an include <asm/time.h> statement for get_tb().

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
drivers/ps3/ps3-lpm.c:192: error: implicit declaration of function 'get_tb'

I could not recreate this error.  asm/time.h seems to be included
from linux/module.h:

In file included from include2/asm/cputime.h:27,
                 from /home/geoff/projects/cell/linux-2.6/include/linux/sched.h:67,
                 from include2/asm/elf.h:6,
                 from /home/geoff/projects/cell/linux-2.6/include/linux/elf.h:8,
                 from /home/geoff/projects/cell/linux-2.6/include/linux/module.h:15,
                 from /home/geoff/projects/cell/linux-2.6/drivers/ps3/ps3-lpm.c:24:
include2/asm/time.h:134

 drivers/ps3/ps3-lpm.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -22,6 +22,7 @@
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/uaccess.h>
+#include <asm/time.h>
 #include <asm/ps3.h>
 #include <asm/lv1call.h>
 #include <asm/cell-pmu.h>

-- 

  parent reply	other threads:[~2008-04-30 22:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080430215644.655638516@am.sony.com>
2008-04-30 22:24 ` [patch 1/5] POWERPC: Fix slb.c compile warnings Geoff Levand
2008-04-30 23:01   ` Benjamin Herrenschmidt
2008-04-30 22:25 ` Geoff Levand [this message]
2008-05-01  2:33   ` [patch 2/5] PS3: Add time include to lpm FUJITA Tomonori
2008-04-30 22:25 ` [patch 3/5] PS3: Make ps3_virq_setup and ps3_virq_destroy static Geoff Levand
2008-04-30 22:25 ` [patch 4/5] PS3: Remove unsupported wakeup sources Geoff Levand
2008-04-30 22:25 ` [patch 5/5] PS3: Update ps3_defconfig Geoff Levand
2008-05-02 13:45   ` Marvin
2008-05-05 19:00     ` Geoff Levand
2008-05-06  8:14       ` Marvin
2008-05-06  9:44         ` [Cbe-oss-dev] Xorg crash when PCI not enabled (was [patch 5/5] PS3: Update ps3_defconfig) Dan Munckton
2008-05-06 16:01           ` [Cbe-oss-dev] Xorg crash when PCI not enabled Marvin
2008-05-06 10:51         ` [patch 5/5] PS3: Update ps3_defconfig Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4818F1C5.2010800@am.sony.com \
    --to=geoffrey.levand@am.sony.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.