From: Rusty Russell <rusty@rustcorp.com.au>
The set_seg_base function isn't used anywhere (2.6.21-rc3-git1)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
---
include/asm-x86_64/desc.h | 10 ----------
1 file changed, 10 deletions(-)
Index: linux/include/asm-x86_64/desc.h
===================================================================
--- linux.orig/include/asm-x86_64/desc.h
+++ linux/include/asm-x86_64/desc.h
@@ -107,16 +107,6 @@ static inline void set_ldt_desc(unsigned
DESC_LDT, size * 8 - 1);
}
-static inline void set_seg_base(unsigned cpu, int entry, void *base)
-{
- struct desc_struct *d = &cpu_gdt(cpu)[entry];
- u32 addr = (u32)(u64)base;
- BUG_ON((u64)base >> 32);
- d->base0 = addr & 0xffff;
- d->base1 = (addr >> 16) & 0xff;
- d->base2 = (addr >> 24) & 0xff;
-}
-
#define LDT_entry_a(info) \
((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff))
/* Don't allow setting of the lm bit. It is useless anyways because
-
| Alok Kataria | Use CPUID to communicate with the hypervisor. |
| Greg KH | [RFC] kobject and kset core changes and cleanups |
| Linus Torvalds | Re: [PATCH 00/23] per device dirty throttling -v8 |
| Alexandre Oliva | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Francis Moreau | Track /etc directory using Git |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Ping Yin | why still no empty directory support in git |
| walt | git versus CVS (versus bk) |
| Christopher Bianchi | How can i boot a bsd.rd from windows 2000 ? |
| Chris Bullock | OpenBSD isakmpd and pf vs Cisco PIX or ASA |
| Nuno Magalhães | Can't scp, ssh is slow to authenticate. |
| Richard Stallman | Real men don't attack straw men |
| Eric W. Biederman | [PATCH 0/10] sysfs network namespace support |
| John P Poet | Realtek 8111C transmit timed out |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
