[K42-discussion] I'm unsure about the following patch: [PATCH] Removed extern declaration of exceptionLocal which isn't actually being used anywhere

Bryan S Rosenburg rosnbrg at us.ibm.com
Thu Oct 5 06:54:47 EST 2006


I don't know why there was ever an extern declaration for exceptionLocal 
in os/kernel/exception/HWInterrupt.H.  I hope the extern in 
os/kernel/exception/ExceptionLocal.H is the only one that's needed.  If 
the system builds without the extraneous one in HWInterrupt.H, by all 
means get rid of it.

- Bryan




Donour Sizemore <donour at cs.unm.edu> 
Sent by: k42-discussion-bounces+rosnbrg=us.ibm.com at ozlabs.org
10/02/2006 07:10 PM
Please respond to
Discussion about K42 <k42-discussion at ozlabs.org>


To
Discussion about K42 <k42-discussion at ozlabs.org>
cc

Subject
Re: [K42-discussion] I'm unsure about the following patch: [PATCH] Removed 
extern declaration of exceptionLocal which isn't actually being used 
anywhere






Signed-off-by: Donour Sizemore <donour at milhouse.localdomain>
---
  os/kernel/exception/HWInterrupt.H |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/os/kernel/exception/HWInterrupt.H 
b/os/kernel/exception/HWInterrupt.H
index 05ae566..7cc971b 100644
--- a/os/kernel/exception/HWInterrupt.H
+++ b/os/kernel/exception/HWInterrupt.H
@@ -21,7 +21,6 @@ #define ICU_LEN         32

  #define IST_LEVEL       3

-extern ExceptionLocal exceptionLocal;
  //K42_LINUX
  extern "C" void HWInterrupt_IOInterrupt(uval interruptNum);

-- 
1.4.1.1

_______________________________________________
K42-discussion mailing list
K42-discussion at ozlabs.org
https://ozlabs.org/mailman/listinfo/k42-discussion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/k42-discussion/attachments/20061004/757d62df/attachment.htm 


More information about the K42-discussion mailing list