search for: 60,11

Displaying 20 results from an estimated 101 matches for "60,11".

Did you mean: 60,19
2009 Mar 06
4
rosh patch
...simple test. 2) changes the rosh_dir_arg function to move the readdir() to inside the while test. This will let me go through my APUE book. Let me know if you have any questions. Keith --- rosh.orig 2009-03-05 20:32:59.000000000 -0500 +++ rosh.c 2009-03-05 22:09:55.000000000 -0500 @@ -60,11 +60,11 @@ */ int rosh_issp(char inc) { - int rv; - switch (inc){ - case ' ': case '\t': - rv = 1; break; - default: rv = 0; + int rv = 0 ; + + if ( ( inc == ' ') || ( inc == '\t') ) + { + rv...
2020 Feb 07
2
[PATCH] drm/bochs: add drm_driver.release callback.
...drm_dev_unregister() first in bochs_remove(). Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/bochs/bochs_drv.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index 10460878414e..87ee1eb21a4d 100644 --- a/drivers/gpu/drm/bochs/bochs_drv.c +++ b/drivers/gpu/drm/bochs/bochs_drv.c @@ -60,6 +60,11 @@ static int bochs_load(struct drm_device *dev) DEFINE_DRM_GEM_FOPS(bochs_fops); +static void bochs_release(struct drm_device *dev) +{ + bochs_unload(dev); +} + static...
2013 May 17
2
zigzag confidence interval in a plot
Dear All, When I plot the values and linear regression line for one data set, it is fine. But for another one I see zigzags, when I plot the confidence interval >cd Depth CHAOsep12RNA 9,94 804 25,06 1476,833333 40,04 1540,561404 50,11 1575,166667 52,46 349,222222 54,92 1941,5 57,29 1053,507042 60,11 1535,1 70,04 2244,963303 79,97 1954,507042 100,31 2679,140625 > plot(cd$CHAOsep12RNA,cd$Depth, ylim = rev(range(0:100)), xlab="CHAO", ylab="Depth", pch=15, las=2, main="Sep12-RNA", cex.main=1) > lmR <- lm(cd$Depth~cd$CHAOsep12RNA) > abline(lmR) pconfR...
2015 Sep 14
1
[PATCH 1/4] efi: Don't unnecessarily rebuild syslinux.so
...an order-only dependency. > > A target depending on another target marked .PHONY is always rebuilt, > thus forcing all the .o files to be rebuilt everytime. > > Signed-off-by: Sylvain Gault <sylvain.gault at gmail.com> > --- a/efi/Makefile > +++ b/efi/Makefile > @@ -60,11 +60,10 @@ DATE := $(shell sh $(SRC)/../gen-id.sh $(VERSION) $(HEXDATE)) > endif > CFLAGS += -DDATE_STR='"$(DATE)"' > > -.PHONY: subdirs > -subdirs: > - mkdir -p $(ARCH) > +$(OBJ)/$(ARCH): > + mkdir -p $@ > > -$(OBJS): subdirs > +$(OBJS...
2015 Sep 16
1
[PATCH 1/4] efi: Don't unnecessarily rebuild syslinux.so
...Paulo Alcantara <pcacjr at zytor.com> Thanks, Paulo > --- > efi/Makefile | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/efi/Makefile b/efi/Makefile > index d5443bd..bbf23f2 100644 > --- a/efi/Makefile > +++ b/efi/Makefile > @@ -60,11 +60,10 @@ DATE := $(shell sh $(SRC)/../gen-id.sh > $(VERSION) $(HEXDATE)) endif > CFLAGS += -DDATE_STR='"$(DATE)"' > > -.PHONY: subdirs > -subdirs: > - mkdir -p $(ARCH) > +$(OBJ)/$(ARCH): > + mkdir -p $@ > > -$(OBJS): subdirs > +$(OBJS)...
2019 May 15
1
[PATCH] Add support for Hygon Dhyana processor
...NDOR_HYGON 9 +#define X86_VENDOR_UNKNOWN 10 +#define X86_VENDOR_NUM 11 #define cpu_has(c, bit) test_bit(bit, (c)->x86_capability) diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c index 2abd0bda..0681dbce 100644 --- a/com32/gpllib/cpuid.c +++ b/com32/gpllib/cpuid.c @@ -60,6 +60,11 @@ static struct cpu_dev amd_cpu_dev = { .c_ident = {"AuthenticAMD"} }; +static struct cpu_dev hygon_cpu_dev = { + .c_vendor = "Hygon", + .c_ident = {"HygonGenuine"} +}; + static struct cpu_dev intel_cpu_dev = { .c_vendor = "Intel&quot...
2018 Sep 10
0
[PATCH net-next v2 2/5] virtio_ring: support creating packed ring
...files changed, 546 insertions(+), 263 deletions(-) > > > > diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c > > index 814b395007b2..c4f8abc7445a 100644 > > --- a/drivers/virtio/virtio_ring.c > > +++ b/drivers/virtio/virtio_ring.c > > @@ -60,11 +60,15 @@ struct vring_desc_state { > > struct vring_desc *indir_desc; /* Indirect descriptor, if any. */ > > }; > > > > +struct vring_desc_state_packed { > > + int next; /* The next desc state. */ > > So this can go away with IN_ORDER? Yes. If IN_ORD...
2018 Sep 07
3
[PATCH net-next v2 2/5] virtio_ring: support creating packed ring
...irtio_ring.h | 8 +- > 2 files changed, 546 insertions(+), 263 deletions(-) > > diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c > index 814b395007b2..c4f8abc7445a 100644 > --- a/drivers/virtio/virtio_ring.c > +++ b/drivers/virtio/virtio_ring.c > @@ -60,11 +60,15 @@ struct vring_desc_state { > struct vring_desc *indir_desc; /* Indirect descriptor, if any. */ > }; > > +struct vring_desc_state_packed { > + int next; /* The next desc state. */ So this can go away with IN_ORDER? > +}; > + > struct vring_virtqueue { &g...
2018 Sep 07
3
[PATCH net-next v2 2/5] virtio_ring: support creating packed ring
...irtio_ring.h | 8 +- > 2 files changed, 546 insertions(+), 263 deletions(-) > > diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c > index 814b395007b2..c4f8abc7445a 100644 > --- a/drivers/virtio/virtio_ring.c > +++ b/drivers/virtio/virtio_ring.c > @@ -60,11 +60,15 @@ struct vring_desc_state { > struct vring_desc *indir_desc; /* Indirect descriptor, if any. */ > }; > > +struct vring_desc_state_packed { > + int next; /* The next desc state. */ So this can go away with IN_ORDER? > +}; > + > struct vring_virtqueue { &g...
2018 Sep 12
1
[PATCH net-next v2 2/5] virtio_ring: support creating packed ring
...https://github.com/torvalds/linux/blob/11da3a7f84f1/drivers/s390/virtio/virtio_ccw.c#L513-L522 https://github.com/torvalds/linux/blob/11da3a7f84f1/drivers/misc/mic/vop/vop_main.c#L306-L307 Below is the corresponding definition in split ring: https://github.com/oasis-tcs/virtio-spec/blob/89dd55f5e606/split-ring.tex#L64-L78 If my understanding is correct, this is just for legacy interfaces, and we won't define layout in packed ring and don't need to support vring_new_virtqueue() in packed ring. Is it correct? Thanks! > > Will do that. > > > > > > +static i...
2015 Sep 14
0
[PATCH 1/4] efi: Don't unnecessarily rebuild syslinux.so
...all the .o files to be rebuilt everytime. Signed-off-by: Sylvain Gault <sylvain.gault at gmail.com> --- efi/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/efi/Makefile b/efi/Makefile index d5443bd..bbf23f2 100644 --- a/efi/Makefile +++ b/efi/Makefile @@ -60,11 +60,10 @@ DATE := $(shell sh $(SRC)/../gen-id.sh $(VERSION) $(HEXDATE)) endif CFLAGS += -DDATE_STR='"$(DATE)"' -.PHONY: subdirs -subdirs: - mkdir -p $(ARCH) +$(OBJ)/$(ARCH): + mkdir -p $@ -$(OBJS): subdirs +$(OBJS): | $(OBJ)/$(ARCH) # The targets to build in this d...
2020 Sep 16
0
[RFC PATCH] x86_64: Add support for Hygon Dhyana processor
...NDOR_HYGON 9 +#define X86_VENDOR_UNKNOWN 10 +#define X86_VENDOR_NUM 11 #define cpu_has(c, bit) test_bit(bit, (c)->x86_capability) diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c index 2abd0bda..0681dbce 100644 --- a/com32/gpllib/cpuid.c +++ b/com32/gpllib/cpuid.c @@ -60,6 +60,11 @@ static struct cpu_dev amd_cpu_dev = { .c_ident = {"AuthenticAMD"} }; +static struct cpu_dev hygon_cpu_dev = { + .c_vendor = "Hygon", + .c_ident = {"HygonGenuine"} +}; + static struct cpu_dev intel_cpu_dev = { .c_vendor = "Intel&quot...
2019 Dec 20
0
[PATCH 1/4] drm/bochs: add drm_driver.release callback.
...drm_dev_unregister() first in bochs_remove(). Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/bochs/bochs_drv.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c index 10460878414e..87ee1eb21a4d 100644 --- a/drivers/gpu/drm/bochs/bochs_drv.c +++ b/drivers/gpu/drm/bochs/bochs_drv.c @@ -60,6 +60,11 @@ static int bochs_load(struct drm_device *dev) DEFINE_DRM_GEM_FOPS(bochs_fops); +static void bochs_release(struct drm_device *dev) +{ + bochs_unload(dev); +} + static...
2010 Feb 18
0
[PATCH] Build against linux-support-2.6.32-2
...@@ def do_arch_setup(self, vars, makeflags, arch, extra): config_entry = self.config.merge('base', arch) + config_entry_description = self.config.merge('description', arch) for i in ( ('xen-arch', 'XEN_ARCH'), @@ -59,7 +60,11 @@ def do_flavour_setup(self, vars, makeflags, arch, featureset, flavour, extra): config_entry = self.config.merge('base', arch, featureset, flavour) + config_description = self.config.merge('description', arch, featureset, flavour) + vars['cla...
2015 Sep 14
11
[PATCH 0/4] efi: Makefile improvement
From: Sylvain Gault <sylvain.gault at gmail.com> These few patches contain a few improvement about the Makefiles for EFI. Mainly, to rebuild the files when needed, and only when needed. The three shell scripts efi/{check,build,clean}-gnu-efi.sh disappeared and are now integrated as makefile recipes. You'll notice an argument ARFLAGS=rvU to the recursive make calls to gnu-efi. This is
2011 Oct 25
5
[PATCH] pm : provide CC7/PC2 residency
...100UL * res / (double)sum_cx[j]); printf("\n"); } diff -r 662dbf6ee71c xen/arch/x86/acpi/cpu_idle.c --- a/xen/arch/x86/acpi/cpu_idle.c Mon Oct 24 18:01:07 2011 +0100 +++ b/xen/arch/x86/acpi/cpu_idle.c Fri Oct 28 21:33:07 2011 +0800 @@ -60,11 +60,13 @@ #define GET_HW_RES_IN_NS(msr, val) \ do { rdmsrl(msr, val); val = tsc_ticks2ns(val); } while( 0 ) +#define GET_PC2_RES(val) GET_HW_RES_IN_NS(0x60D, val) /* SNB only */ #define GET_PC3_RES(val) GET_HW_RES_IN_NS(0x3F8, val) #define GET_PC6_RES(val) GET_HW_RES_IN_NS(0x3F9, val...
2007 Jul 20
0
[1123] trunk/wxruby2/swig/wx.i: Check sizers being marked have a ruby rep and are not internal Wx-only,
...</span><span class="cx"> // Then loop over hte sizer''s content and mark each sub-sizer in turn </span><span class="cx"> wxSizerItemList& children = wx_sizer->GetChildren(); </span><span class="lines">@@ -59,7 +60,11 @@ </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp wxSizerItem* item = node->GetData(); </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp wxSizer* ch...
2017 Jun 22
0
[PATCH v2 12/14] drm: radeon: remove dead code and pointless local lut storage
...static void avivo_crtc_load_lut(struct drm_crtc *crtc) struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); struct drm_device *dev = crtc->dev; struct radeon_device *rdev = dev->dev_private; + u16 *r, *g, *b; int i; DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); @@ -60,11 +61,14 @@ static void avivo_crtc_load_lut(struct drm_crtc *crtc) WREG32(AVIVO_DC_LUT_WRITE_EN_MASK, 0x0000003f); WREG8(AVIVO_DC_LUT_RW_INDEX, 0); + r = crtc->gamma_store; + g = r + crtc->gamma_size; + b = g + crtc->gamma_size; for (i = 0; i < 256; i++) { WREG32(AVIVO_DC_LU...
2016 Feb 09
0
[PATCH 1/4] v2v: collect source network and video adapter types
...tures: firmware: bios display: + video: sound: disks: disk1.vmdk (vmdk) [scsi] diff --git a/v2v/test-v2v-print-source.sh b/v2v/test-v2v-print-source.sh index 8dd0145..8af6104 100755 --- a/v2v/test-v2v-print-source.sh +++ b/v2v/test-v2v-print-source.sh @@ -60,11 +60,13 @@ hypervisor type: test CPU features: firmware: unknown display: + video: qxl sound: disks: /windows.img (raw) [virtio] removable media: -NICs:" ]; then +NICs: + Network \"default\" mac: 00:11:22:33:44:55 [virtio]" ]; th...
2016 Mar 18
0
[PATCH v4 1/5] v2v: collect source network and video adapter types
...tures: firmware: bios display: + video: sound: disks: disk1.vmdk (vmdk) [scsi] diff --git a/v2v/test-v2v-print-source.sh b/v2v/test-v2v-print-source.sh index 8dd0145..8af6104 100755 --- a/v2v/test-v2v-print-source.sh +++ b/v2v/test-v2v-print-source.sh @@ -60,11 +60,13 @@ hypervisor type: test CPU features: firmware: unknown display: + video: qxl sound: disks: /windows.img (raw) [virtio] removable media: -NICs:" ]; then +NICs: + Network \"default\" mac: 00:11:22:33:44:55 [virtio]" ]; th...