[syslinux:lwip] core pxe: Cleanup the call to pxe_isr_init

syslinux-bot for Eric W. Biederman ebiederm at xmission.com
Fri Apr 22 20:05:52 PDT 2011


Commit-ID:  3d35705a06f04b3e08f701278cec648336233562
Gitweb:     http://syslinux.zytor.com/commit/3d35705a06f04b3e08f701278cec648336233562
Author:     Eric W. Biederman <ebiederm at xmission.com>
AuthorDate: Sat, 9 Apr 2011 21:24:29 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Tue, 12 Apr 2011 14:40:54 -0700

core pxe: Cleanup the call to pxe_isr_init

Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>


---
 core/fs/pxe/pxe.c |    2 +-
 core/fs/pxe/pxe.h |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/core/fs/pxe/pxe.c b/core/fs/pxe/pxe.c
index 3f84ea5..af580c6 100644
--- a/core/fs/pxe/pxe.c
+++ b/core/fs/pxe/pxe.c
@@ -1217,9 +1217,9 @@ static void network_init(void)
  */
 static int pxe_fs_init(struct fs_info *fs)
 {
-    extern void pxe_init_isr(void); /* XXX */
     (void)fs;    /* drop the compile warning message */
 
+    /* Prepare for handling pxe interrupts */
     pxe_init_isr();
 
     /* This block size is actually arbitrary... */
diff --git a/core/fs/pxe/pxe.h b/core/fs/pxe/pxe.h
index 60feedb..45e5008 100644
--- a/core/fs/pxe/pxe.h
+++ b/core/fs/pxe/pxe.h
@@ -232,6 +232,9 @@ static inline uint32_t gateway(uint32_t ip)
  * functions 
  */
 
+/* isr.c */
+void pxe_init_isr(void);
+
 /* pxe.c */
 bool ip_ok(uint32_t);
 int pxe_call(int, void *);



More information about the Syslinux-commits mailing list