Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d88879b2d0225da3ba460bbdb8361bb049653671
Commit:     d88879b2d0225da3ba460bbdb8361bb049653671
Parent:     bdb4f156064e5f627213af82292eb8b5cf2dc5aa
Author:     Jan Beulich <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:31:21 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:31:21 2008 +0100

    x86-64: make pda's cpunumber and nodenumber unsigned
    
    This generally allows better code to be generated, since the zero-
    extension during 32-bit operations comes for free (needed when the
    result is used as array index or similar), whereas sign extension must
    be done explicitly and frequently requires a one byte larger
    instruction due to the necessary rex64 prefix.
    
    Signed-off-by: Jan Beulich <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 include/asm-x86/pda.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-x86/pda.h b/include/asm-x86/pda.h
index 3d9dd65..b620d0c 100644
--- a/include/asm-x86/pda.h
+++ b/include/asm-x86/pda.h
@@ -15,14 +15,14 @@ struct x8664_pda {
        unsigned long kernelstack;  /* 16 top of kernel stack for current */
        unsigned long oldrsp;       /* 24 user rsp for system call */
         int irqcount;              /* 32 Irq nesting counter. Starts with -1 */
-       int cpunumber;              /* 36 Logical CPU number */
+       unsigned int cpunumber;     /* 36 Logical CPU number */
 #ifdef CONFIG_CC_STACKPROTECTOR
        unsigned long stack_canary;     /* 40 stack canary value */
                                        /* gcc-ABI: this canary MUST be at
                                           offset 40!!! */
 #endif
        char *irqstackptr;
-       int nodenumber;             /* number of current node */
+       unsigned int nodenumber;        /* number of current node */
        unsigned int __softirq_pending;
        unsigned int __nmi_count;       /* number of NMI on this CPUs */
        short mmu_state;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to