Skip to content

Commit

Permalink
metag: Fix misspellings in comments.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Buchbinder <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
adambuchbinder authored and Jiri Kosina committed Apr 18, 2016
1 parent 45b79a2 commit cacd2c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion arch/metag/include/asm/metag_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@
#define TXSTATUS_IPTOGGLE_BIT 0x80000000 /* Prev PToggle of TXPRIVEXT */
#define TXSTATUS_ISTATE_BIT 0x40000000 /* IState bit */
#define TXSTATUS_IWAIT_BIT 0x20000000 /* wait indefinitely in decision step*/
#define TXSTATUS_IEXCEPT_BIT 0x10000000 /* Indicate an exception occured */
#define TXSTATUS_IEXCEPT_BIT 0x10000000 /* Indicate an exception occurred */
#define TXSTATUS_IRPCOUNT_BITS 0x0E000000 /* Number of 'dirty' date entries*/
#define TXSTATUS_IRPCOUNT_S 25
#define TXSTATUS_IRQSTAT_BITS 0x0000F000 /* IRQEnc bits, trigger or interrupts */
Expand Down
6 changes: 3 additions & 3 deletions arch/metag/include/asm/tbx.h
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ typedef union _tbires_tag_ {
State.Sig.TrigMask will indicate the bits set within TXMASKI at
the time of the handler call that have all been cleared to prevent
nested interrupt occuring immediately.
nested interrupt occurring immediately.
State.Sig.SaveMask is a bit-mask which will be set to Zero when a trigger
occurs at background level and TBICTX_CRIT_BIT and optionally
Expand Down Expand Up @@ -1083,7 +1083,7 @@ TBIRES __TBINestInts( TBIRES State, void *pExt, int NoNestMask );
/* This routine causes the TBICTX structure specified in State.Sig.pCtx to
be restored. This implies that execution will not return to the caller.
The State.Sig.TrigMask field will be restored during the context switch
such that any immediately occuring interrupts occur in the context of the
such that any immediately occurring interrupts occur in the context of the
newly specified task. The State.Sig.SaveMask parameter is ignored. */
void __TBIASyncResume( TBIRES State );

Expand Down Expand Up @@ -1305,7 +1305,7 @@ extern const char __TBISigNames[];

/*
* Calculate linear PC value from real PC and Minim mode control, the LSB of
* the result returned indicates if address compression has occured.
* the result returned indicates if address compression has occurred.
*/
#ifndef __ASSEMBLY__
#define METAG_LINPC( PCVal ) (\
Expand Down
2 changes: 1 addition & 1 deletion arch/metag/tbx/tbipcx.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <asm/tbx.h>

/* BEGIN HACK */
/* define these for now while doing inital conversion to GAS
/* define these for now while doing initial conversion to GAS
will fix properly later */

/* Signal identifiers always have the TBID_SIGNAL_BIT set and contain the
Expand Down
6 changes: 3 additions & 3 deletions arch/metag/tbx/tbisoft.S
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ___TBIJumpX:
/*
* TBIRES __TBISwitch( TBIRES Switch, PTBICTX *rpSaveCtx )
*
* Software syncronous context switch between soft threads, save only the
* Software synchronous context switch between soft threads, save only the
* registers which are actually valid on call entry.
*
* A0FrP, D0RtP, D0.5, D0.6, D0.7 - Saved on stack
Expand All @@ -76,7 +76,7 @@ $LSwitchStart:
SETL [A0StP+#8++],D0FrT,D1RtP
/*
* Save current frame state - we save all regs because we don't want
* uninitialised crap in the TBICTX structure that the asyncronous resumption
* uninitialised crap in the TBICTX structure that the asynchronous resumption
* of a thread will restore.
*/
MOVT D1Re0,#HI($LSwitchExit) /* ASync resume point here */
Expand Down Expand Up @@ -117,7 +117,7 @@ $LSwitchExit:
* This routine causes the TBICTX structure specified in State.Sig.pCtx to
* be restored. This implies that execution will not return to the caller.
* The State.Sig.TrigMask field will be ored into TXMASKI during the
* context switch such that any immediately occuring interrupts occur in
* context switch such that any immediately occurring interrupts occur in
* the context of the newly specified task. The State.Sig.SaveMask parameter
* is ignored.
*/
Expand Down

0 comments on commit cacd2c4

Please sign in to comment.